diff options
Diffstat (limited to 'buildSrc/src')
-rw-r--r-- | buildSrc/src/main/kotlin/kau/Dependencies.kt | 12 | ||||
-rw-r--r-- | buildSrc/src/main/kotlin/kau/Versions.kt | 9 |
2 files changed, 18 insertions, 3 deletions
diff --git a/buildSrc/src/main/kotlin/kau/Dependencies.kt b/buildSrc/src/main/kotlin/kau/Dependencies.kt index caf2f6e..b543dc3 100644 --- a/buildSrc/src/main/kotlin/kau/Dependencies.kt +++ b/buildSrc/src/main/kotlin/kau/Dependencies.kt @@ -29,6 +29,9 @@ object Dependencies { fun kauFastAdapter(version: String) = kau("fastadapter", version) @JvmStatic + fun kauFastAdapterViewBinding(version: String) = kau("fastadapter-viewbinding", version) + + @JvmStatic fun kauKprefActivity(version: String) = kau("kpref-activity", version) @JvmStatic @@ -47,6 +50,15 @@ object Dependencies { @JvmField val kotlinReflect = kotlin("reflect") + @JvmField + val koin = koin("android") + + @JvmField + val koinTest = koin("test") + + @JvmStatic + fun koin(type: String) = "org.koin:koin-$type:${Versions.koin}" + const val junit = "junit:junit:${Versions.junit}" const val coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-android:${Versions.coroutines}" diff --git a/buildSrc/src/main/kotlin/kau/Versions.kt b/buildSrc/src/main/kotlin/kau/Versions.kt index 86155eb..95955e0 100644 --- a/buildSrc/src/main/kotlin/kau/Versions.kt +++ b/buildSrc/src/main/kotlin/kau/Versions.kt @@ -27,7 +27,7 @@ object Versions { const val constraintLayout = "2.0.0-beta4" // https://mvnrepository.com/artifact/androidx.core/core-ktx - const val coreKtx = "1.2.0-rc01" + const val coreKtx = "1.2.0" // https://kotlinlang.org/docs/reference/using-gradle.html const val kotlin = "1.3.61" @@ -54,7 +54,10 @@ object Versions { const val iconicsCommunity = "3.5.95.1" // https://github.com/afollestad/material-dialogs/releases - const val materialDialog = "3.1.1" + const val materialDialog = "3.3.0" + + // https://github.com/InsertKoinIO/koin/blob/master/CHANGELOG.md + const val koin = "2.0.1" // https://mvnrepository.com/artifact/androidx.test.espresso/espresso-core?repo=google const val espresso = "3.2.0" @@ -78,7 +81,7 @@ object Versions { const val bugsnagPlugin="4.7.3" // https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google - const val gradlePlugin = "3.6.0-rc02" + const val gradlePlugin = "3.6.0-rc03" // https://github.com/dcendents/android-maven-gradle-plugin/releases const val mavenPlugin = "2.1" // https://github.com/Triple-T/gradle-play-publisher/releases |