summaryrefslogtreecommitdiff
path: root/main/build.gradle.kts
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2019-11-12 22:58:14 +0100
committerArne Schwabe <arne@rfc2549.org>2019-11-17 10:16:02 +0100
commitcbdaa48705855169827f29014efbaa934d212ccf (patch)
tree678c3c37bae0578b636bea38691d3eed9bec2f1f /main/build.gradle.kts
parent81d7c76b94335e699b2885cd74f3e364eba60cc3 (diff)
Convert most fragments/activities to androidx
Diffstat (limited to 'main/build.gradle.kts')
-rw-r--r--main/build.gradle.kts20
1 files changed, 19 insertions, 1 deletions
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")
}