[#15] Kotlin 1.6.21

Also update the build scripts to resolve warnings
This commit is contained in:
Carter Jernigan 2022-04-20 15:19:25 -04:00
parent f5927a2513
commit 1f3a9e821d
2 changed files with 10 additions and 2 deletions

View File

@ -1,7 +1,15 @@
plugins { plugins {
`kotlin-dsl` `kotlin-dsl-base`
} }
repositories { repositories {
jcenter() jcenter()
} }
// Per conversation in the KotlinLang Slack, Gradle uses Java 8 compatibility internally
// for all build scripts.
// https://kotlinlang.slack.com/archives/C19FD9681/p1636632870122900?thread_ts=1636572288.117000&cid=C19FD9681
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

View File

@ -3,7 +3,7 @@ package cash.z.ecc.android
object Deps { object Deps {
// For use in the top-level build.gradle which gives an error when provided // For use in the top-level build.gradle which gives an error when provided
// `Deps.Kotlin.version` directly // `Deps.Kotlin.version` directly
const val kotlinVersion = "1.4.30" const val kotlinVersion = "1.6.21"
object Kotlin : Version(kotlinVersion) { object Kotlin : Version(kotlinVersion) {
val STDLIB = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$version" val STDLIB = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$version"