aboutsummaryrefslogtreecommitdiff
path: root/buildSrc/src
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-04-17 15:32:32 -0700
committerGitHub <noreply@github.com>2021-04-17 15:32:32 -0700
commit12f4725a90762aeeca8936b6449445e800b2f09a (patch)
tree584d1347abf542361c327519942080c75c16a889 /buildSrc/src
parent3ec75195a25f6e502ceca7a89aa66f6313e263e6 (diff)
parent1057b6a113c7b2fa1320ce0378e34484f901ee2f (diff)
downloadkau-12f4725a90762aeeca8936b6449445e800b2f09a.tar.gz
kau-12f4725a90762aeeca8936b6449445e800b2f09a.tar.bz2
kau-12f4725a90762aeeca8936b6449445e800b2f09a.zip
Merge pull request #261 from AllanWang/versions
Diffstat (limited to 'buildSrc/src')
-rw-r--r--buildSrc/src/main/kotlin/kau/Dependencies.kt5
-rw-r--r--buildSrc/src/main/kotlin/kau/Versions.kt54
2 files changed, 34 insertions, 25 deletions
diff --git a/buildSrc/src/main/kotlin/kau/Dependencies.kt b/buildSrc/src/main/kotlin/kau/Dependencies.kt
index 18acccb..83f3d7b 100644
--- a/buildSrc/src/main/kotlin/kau/Dependencies.kt
+++ b/buildSrc/src/main/kotlin/kau/Dependencies.kt
@@ -71,6 +71,9 @@ object Dependencies {
@JvmStatic
fun hilt(type: String) = "com.google.dagger:hilt-android-$type:${Versions.hilt}"
+ @JvmStatic
+ fun compose(type: String) = "androidx.ui:ui-$type:${Versions.compose}"
+
const val junit = "junit:junit:${Versions.junit}"
const val coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-android:${Versions.coroutines}"
@@ -86,7 +89,7 @@ object Dependencies {
const val iconics = "com.mikepenz:iconics-core:${Versions.iconics}"
const val iconicsGoogle =
- "com.mikepenz:google-material-typeface:${Versions.iconicsGoogle}.original-kotlin@aar"
+ "com.mikepenz:google-material-typeface:${Versions.iconicsGoogle}-kotlin@aar"
const val iconicsMaterial =
"com.mikepenz:material-design-iconic-typeface:${Versions.iconicsMaterial}-kotlin@aar"
const val iconicsCommunity =
diff --git a/buildSrc/src/main/kotlin/kau/Versions.kt b/buildSrc/src/main/kotlin/kau/Versions.kt
index c0118bc..56b6eaa 100644
--- a/buildSrc/src/main/kotlin/kau/Versions.kt
+++ b/buildSrc/src/main/kotlin/kau/Versions.kt
@@ -6,13 +6,13 @@ object Versions {
const val targetSdk = 29
// https://mvnrepository.com/artifact/androidx.appcompat/appcompat?repo=google
- const val appcompat = "1.2.0"
+ const val appcompat = "1.3.0-rc01"
// https://mvnrepository.com/artifact/com.google.android.material/material
- const val googleMaterial = "1.2.1"
+ const val googleMaterial = "1.3.0"
// https://mvnrepository.com/artifact/androidx.recyclerview/recyclerview
- const val recyclerView = "1.1.0"
+ const val recyclerView = "1.2.0"
// https://mvnrepository.com/artifact/androidx.swiperefreshlayout/swiperefreshlayout
const val swipeRefreshLayout = "1.1.0"
@@ -21,46 +21,50 @@ object Versions {
const val cardView = "1.0.0"
// https://mvnrepository.com/artifact/androidx.constraintlayout/constraintlayout
- const val constraintLayout = "2.0.1"
+ const val constraintLayout = "2.1.0-beta01"
// https://mvnrepository.com/artifact/androidx.core/core-ktx
- const val coreKtx = "1.3.1"
+ const val coreKtx = "1.5.0-rc01"
// https://kotlinlang.org/docs/reference/using-gradle.html
- const val kotlin = "1.4.10"
+ const val kotlin = "1.4.32"
// https://github.com/Kotlin/kotlinx.coroutines/releases
- const val coroutines = "1.3.9"
+ const val coroutines = "1.4.3"
// https://github.com/mikepenz/AboutLibraries/releases
- const val aboutLibraries = "8.3.1"
+ const val aboutLibraries = "8.8.5"
// https://github.com/wasabeef/Blurry/releases
const val blurry = "3.0.0"
// https://github.com/mikepenz/FastAdapter/releases
- const val fastAdapter = "5.2.3"
+ const val fastAdapter = "5.4.1"
// https://github.com/bumptech/glide/releases
- const val glide = "4.11.0"
+ const val glide = "4.12.0"
// https://github.com/mikepenz/Android-Iconics#1-provide-the-gradle-dependency
- const val iconics = "5.0.3"
- const val iconicsGoogle = "3.0.1.4"
- const val iconicsMaterial = "2.2.0.6"
- const val iconicsCommunity = "5.3.45.1"
+ const val iconics = "5.3.0-b01"
+ const val iconicsGoogle = "4.0.0.1"
+ const val iconicsMaterial = "2.2.0.8"
+ const val iconicsCommunity = "5.8.55.0"
// https://github.com/afollestad/material-dialogs/releases
const val materialDialog = "3.3.0"
// https://github.com/InsertKoinIO/koin/blob/master/CHANGELOG.md
- const val koin = "2.2.0-beta-1"
+ const val koin = "3.0.1"
+ // https://github.com/google/dagger/releases
// https://mvnrepository.com/artifact/com.google.dagger/hilt-android
- const val hilt = "2.29.1-alpha"
+ const val hilt = "2.34.1-beta"
+
+ // https://mvnrepository.com/artifact/androidx.ui/ui-core?repo=google
+ const val compose = "0.1.0-dev14"
// https://square.github.io/leakcanary/changelog/
- const val leakCanary = "2.4"
+ const val leakCanary = "2.7"
// https://mvnrepository.com/artifact/androidx.test.espresso/espresso-core?repo=google
const val espresso = "3.3.0"
@@ -75,24 +79,26 @@ object Versions {
const val testRules = "1.3.0"
// https://github.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.md
- const val spotless = "5.5.1"
+ const val spotless = "5.7.0"
// https://github.com/bugsnag/bugsnag-android/releases
- const val bugsnag = "5.2.0"
+ const val bugsnag = "5.9.0"
// https://github.com/bugsnag/bugsnag-android-gradle-plugin/releases
- const val bugsnagPlugin="5.2.0"
+ const val bugsnagPlugin="5.7.6"
// https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
- const val gradlePlugin = "4.1.0-rc03"
+ const val gradlePlugin = "4.2.0-rc01"
+
// https://github.com/dcendents/android-maven-gradle-plugin/releases
const val mavenPlugin = "2.1"
+
// https://github.com/Triple-T/gradle-play-publisher/releases
- const val playPublishPlugin = "3.0.0"
+ const val playPublishPlugin = "3.4.0-agp7.0"
// https://github.com/KeepSafe/dexcount-gradle-plugin/releases
- const val dexCountPlugin = "2.0.0-RC1"
+ const val dexCountPlugin = "2.0.0"
// https://github.com/gladed/gradle-android-git-version/releases
- const val gitVersionPlugin = "0.4.13"
+ const val gitVersionPlugin = "0.4.14"
}