diff options
author | Allan Wang <me@allanwang.ca> | 2020-06-27 14:36:40 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2020-06-27 14:36:40 -0700 |
commit | 3f28748f959dedb6f7baee7c1c27e343080e8c3f (patch) | |
tree | 97681a6ff6f1c07bf75e55219984d3236af3f892 /buildSrc | |
parent | cd24bc8175938ff289c48a6ec3bb956cc22fb79e (diff) | |
download | kau-3f28748f959dedb6f7baee7c1c27e343080e8c3f.tar.gz kau-3f28748f959dedb6f7baee7c1c27e343080e8c3f.tar.bz2 kau-3f28748f959dedb6f7baee7c1c27e343080e8c3f.zip |
Update AS and add hilt version info
Diffstat (limited to 'buildSrc')
-rw-r--r-- | buildSrc/src/main/kotlin/kau/Dependencies.kt | 12 | ||||
-rw-r--r-- | buildSrc/src/main/kotlin/kau/Versions.kt | 7 |
2 files changed, 17 insertions, 2 deletions
diff --git a/buildSrc/src/main/kotlin/kau/Dependencies.kt b/buildSrc/src/main/kotlin/kau/Dependencies.kt index d7a3757..b59ba91 100644 --- a/buildSrc/src/main/kotlin/kau/Dependencies.kt +++ b/buildSrc/src/main/kotlin/kau/Dependencies.kt @@ -59,6 +59,18 @@ object Dependencies { @JvmStatic fun koin(type: String) = "org.koin:koin-$type:${Versions.koin}" + @JvmField + val hilt = "com.google.dagger:hilt-android:${Versions.hilt}" + + @JvmField + val hiltCompiler = hilt("compiler") + + @JvmField + val hiltTest = hilt("testing") + + @JvmStatic + fun hilt(type: String) = "com.google.dagger:hilt-android-$type:${Versions.hilt}" + 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 f4ca30d..f0ed129 100644 --- a/buildSrc/src/main/kotlin/kau/Versions.kt +++ b/buildSrc/src/main/kotlin/kau/Versions.kt @@ -54,7 +54,10 @@ object Versions { const val materialDialog = "3.3.0" // https://github.com/InsertKoinIO/koin/blob/master/CHANGELOG.md - const val koin = "2.1.5" + const val koin = "2.1.6" + + // https://mvnrepository.com/artifact/com.google.dagger/hilt-android + const val hilt = "2.28.1-alpha" // https://square.github.io/leakcanary/changelog/ const val leakCanary = "2.2" @@ -82,7 +85,7 @@ object Versions { const val bugsnagPlugin="4.7.4" // https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google - const val gradlePlugin = "4.1.0-beta01" + const val gradlePlugin = "4.1.0-beta02" // https://github.com/dcendents/android-maven-gradle-plugin/releases const val mavenPlugin = "2.1" // https://github.com/Triple-T/gradle-play-publisher/releases |