From cbdaa48705855169827f29014efbaa934d212ccf Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Tue, 12 Nov 2019 22:58:14 +0100 Subject: Convert most fragments/activities to androidx --- main/build.gradle.kts | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'main/build.gradle.kts') diff --git a/main/build.gradle.kts b/main/build.gradle.kts index a0a7a42e..42650454 100644 --- a/main/build.gradle.kts +++ b/main/build.gradle.kts @@ -155,6 +155,10 @@ preBuildTask.dependsOn(swigTask) /* Normally you would put these on top but then it errors out on unknown configurations */ dependencies { + val preference_version = "1.1.0" + val core_version = "1.1.0" + val material_version = "1.0.0" + implementation("androidx.annotation:annotation:1.1.0") implementation("androidx.core:core:1.1.0") @@ -163,13 +167,27 @@ dependencies { dependencies.add("uiImplementation", "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.50") dependencies.add("uiImplementation", "androidx.cardview:cardview:1.0.0") dependencies.add("uiImplementation", "androidx.recyclerview:recyclerview:1.0.0") + dependencies.add("uiImplementation", "androidx.appcompat:appcompat:1.1.0") dependencies.add("uiImplementation", "com.github.PhilJay:MPAndroidChart:v3.1.0") + dependencies.add("uiImplementation", "com.squareup.okhttp3:okhttp:3.2.0") + dependencies.add("uiImplementation", "androidx.core:core:$core_version") + dependencies.add("uiImplementation", "androidx.core:core-ktx:$core_version") + + dependencies.add("uiImplementation", "org.jetbrains.anko:anko-commons:0.10.4") + + dependencies.add("uiImplementation", "androidx.fragment:fragment-ktx:1.1.0") + + + dependencies.add("uiImplementation", "androidx.preference:preference:$preference_version") + dependencies.add("uiImplementation", "androidx.preference:preference-ktx:$preference_version") + + dependencies.add("uiImplementation", "com.google.android.material:material:$material_version") + testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.50") testImplementation("junit:junit:4.12") testImplementation("org.mockito:mockito-core:3.1.0") testImplementation("org.robolectric:robolectric:4.3.1") - implementation("androidx.core:core:1.1.0") } -- cgit v1.2.3