diff options
author | Arne Schwabe <arne@rfc2549.org> | 2020-03-23 10:06:38 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2020-03-23 10:06:38 +0100 |
commit | ea75537e369eb981c342c0be577d43005f93b1a9 (patch) | |
tree | f5d307784d16e3b669ea887b412a8f54cf807bee | |
parent | a9b87829ed66a7953f9dccc77d46a31282f7906f (diff) |
Update library versions
-rw-r--r-- | main/build.gradle.kts | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/main/build.gradle.kts b/main/build.gradle.kts index 9a38f260..61c5a92e 100644 --- a/main/build.gradle.kts +++ b/main/build.gradle.kts @@ -155,16 +155,19 @@ android.applicationVariants.all(object : Action<ApplicationVariant> { dependencies { + // https://developer.android.com/jetpack/androidx/releases/core val preferenceVersion = "1.1.0" - val coreVersion = "1.1.0" + val coreVersion = "1.2.0" val materialVersion = "1.0.0" + val fragment_version = "1.2.2" + implementation("androidx.annotation:annotation:1.1.0") - implementation("androidx.core:core:1.1.0") + implementation("androidx.core:core:$coreVersion") // Is there a nicer way to do this? dependencies.add("uiImplementation", "androidx.constraintlayout:constraintlayout:1.1.3") - dependencies.add("uiImplementation", "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.50") + dependencies.add("uiImplementation", "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.70") 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") @@ -173,14 +176,14 @@ dependencies { dependencies.add("uiImplementation", "androidx.core:core:$coreVersion") dependencies.add("uiImplementation", "androidx.core:core-ktx:$coreVersion") 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.fragment:fragment-ktx:$fragment_version") dependencies.add("uiImplementation", "androidx.preference:preference:$preferenceVersion") dependencies.add("uiImplementation", "androidx.preference:preference-ktx:$preferenceVersion") dependencies.add("uiImplementation", "com.google.android.material:material:$materialVersion") - testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.61") - testImplementation("junit:junit:4.12") - testImplementation("org.mockito:mockito-core:3.2.4") + testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.70") + testImplementation("junit:junit:4.13") + testImplementation("org.mockito:mockito-core:3.3.0") testImplementation("org.robolectric:robolectric:4.3.1") } |