diff options
author | Allan Wang <me@allanwang.ca> | 2019-06-08 02:10:02 -0400 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-06-08 02:10:02 -0400 |
commit | 1af2414105b33e92b7a9902b016aa7f4a9b3c869 (patch) | |
tree | 9c1977db7018c710ae6080687cff5e4cabc5d260 /buildSrc | |
parent | 74488eb9f44a7ca40fbf258243e041ad297e62a4 (diff) | |
download | frost-1af2414105b33e92b7a9902b016aa7f4a9b3c869.tar.gz frost-1af2414105b33e92b7a9902b016aa7f4a9b3c869.tar.bz2 frost-1af2414105b33e92b7a9902b016aa7f4a9b3c869.zip |
Fix versions and imports
Diffstat (limited to 'buildSrc')
-rw-r--r-- | buildSrc/build.gradle.kts | 12 | ||||
-rw-r--r-- | buildSrc/src/main/kotlin/Versions.kt | 34 |
2 files changed, 43 insertions, 3 deletions
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 50603069..0c518118 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -9,8 +9,16 @@ repositories { maven("https://jitpack.io") } -val KAU: String = "db3b6c0" +// Currently can't read properties from root project +// Reading it manually since it's simple +val rootProps = + File(project.rootDir.let { if (it.name == "buildSrc") it.parent else it.absolutePath }, "gradle.properties") +val kau = rootProps.useLines { + it.first { s -> s.startsWith("KAU=") } +}.substring(4).trim() + +println("Using kau $kau") dependencies { - implementation("ca.allanwang.kau:gradle-plugin:$KAU") + implementation("ca.allanwang.kau:gradle-plugin:$kau") }
\ No newline at end of file diff --git a/buildSrc/src/main/kotlin/Versions.kt b/buildSrc/src/main/kotlin/Versions.kt index 6ed886e4..df15d665 100644 --- a/buildSrc/src/main/kotlin/Versions.kt +++ b/buildSrc/src/main/kotlin/Versions.kt @@ -1,5 +1,37 @@ object Versions { - const val kau = "db3b6c0" + const val andxBiometric = "1.0.0-alpha04" + // https://mvnrepository.com/artifact/org.apache.commons/commons-text + // Updates blocked due to javax.script dependency + const val apacheCommonsText = "1.4" + // https://github.com/Raizlabs/DBFlow/releases + const val dbflow = "4.2.4" + // https://github.com/brianwernick/ExoMedia/releases + const val exoMedia = "4.3.0" + // https://github.com/InsertKoinIO/koin/blob/master/CHANGELOG.md + const val koin = "2.0.0-rc-2" + // https://github.com/mockk/mockk/releases + const val mockk = "1.9.3" + // https://mvnrepository.com/artifact/androidx.core/core-ktx?repo=google + const val ktx = "1.0.2" + + // https://github.com/FasterXML/jackson-core/releases + const val jackson = "2.9.8" + // https://github.com/jhy/jsoup/releases + const val jsoup = "1.11.3" + // https://github.com/square/leakcanary/releases + const val leakCanary = "1.6.2" + // https://github.com/zsmb13/MaterialDrawerKt/releases + const val materialDrawerKt = "2.0.1" + // https://github.com/square/okhttp/releases + const val okhttp = "3.14.1" + // https://developer.android.com/jetpack/androidx/releases/room + const val room = "2.1.0-rc01" + // http://robolectric.org/getting-started/ + const val roboelectric = "4.2" + // https://github.com/davemorrissey/subsampling-scale-image-view#quick-start + const val scaleImageView = "3.10.0" + // https://github.com/umano/AndroidSlidingUpPanel#importing-the-library + const val slidingPanel = "3.4.0" }
\ No newline at end of file |