aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-10-20 02:45:02 -0700
committerAllan Wang <me@allanwang.ca>2019-10-20 02:45:02 -0700
commit09c6e4d1defb46616c57accbf505d0c237fea3d6 (patch)
tree0317a308fc294638214e11b3a2e398574f316a70
parentbf93d5bf53f0d5e88841ba243e578adbc9b35f94 (diff)
downloadkau-09c6e4d1defb46616c57accbf505d0c237fea3d6.tar.gz
kau-09c6e4d1defb46616c57accbf505d0c237fea3d6.tar.bz2
kau-09c6e4d1defb46616c57accbf505d0c237fea3d6.zip
Add core ktx dependency
-rw-r--r--buildSrc/src/main/kotlin/kau/Dependencies.kt4
-rw-r--r--buildSrc/src/main/kotlin/kau/Versions.kt3
2 files changed, 6 insertions, 1 deletions
diff --git a/buildSrc/src/main/kotlin/kau/Dependencies.kt b/buildSrc/src/main/kotlin/kau/Dependencies.kt
index 663f922..f7faeb0 100644
--- a/buildSrc/src/main/kotlin/kau/Dependencies.kt
+++ b/buildSrc/src/main/kotlin/kau/Dependencies.kt
@@ -52,12 +52,14 @@ object Dependencies {
const val appcompat = "androidx.appcompat:appcompat:${Versions.appcompat}"
const val recyclerView = "androidx.recyclerview:recyclerview:${Versions.recyclerView}"
- const val swipeRefreshLayout = "androidx.swipeRefreshLayout:swipeRefreshLayout:${Versions.swipeRefreshLayout}"
+ const val swipeRefreshLayout = "androidx.swiperefreshlayout:swiperefreshlayout:${Versions.swipeRefreshLayout}"
const val cardView = "androidx.cardview:cardview:${Versions.cardView}"
const val constraintLayout =
"androidx.constraintlayout:constraintlayout:${Versions.constraintLayout}"
const val googleMaterial = "com.google.android.material:material:${Versions.googleMaterial}"
+ const val coreKtx = "androidx.core:core-ktx:${Versions.coreKtx}"
+
const val iconics = "com.mikepenz:iconics-core:${Versions.iconics}"
const val iconicsGoogle =
"com.mikepenz:google-material-typeface:${Versions.iconicsGoogle}.original-kotlin@aar"
diff --git a/buildSrc/src/main/kotlin/kau/Versions.kt b/buildSrc/src/main/kotlin/kau/Versions.kt
index ff815dc..2f02bd8 100644
--- a/buildSrc/src/main/kotlin/kau/Versions.kt
+++ b/buildSrc/src/main/kotlin/kau/Versions.kt
@@ -26,6 +26,9 @@ object Versions {
// https://mvnrepository.com/artifact/androidx.constraintlayout/constraintlayout
const val constraintLayout = "2.0.0-beta2"
+ // https://mvnrepository.com/artifact/androidx.core/core-ktx
+ const val coreKtx = "1.1.0"
+
// https://kotlinlang.org/docs/reference/using-gradle.html
const val kotlin = "1.3.50"