From 09c6e4d1defb46616c57accbf505d0c237fea3d6 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 20 Oct 2019 02:45:02 -0700 Subject: Add core ktx dependency --- buildSrc/src/main/kotlin/kau/Dependencies.kt | 4 +++- buildSrc/src/main/kotlin/kau/Versions.kt | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3