[#89] Resolve Gradle build warnings

This commit is contained in:
Carter Jernigan 2021-11-17 15:53:37 -05:00 committed by Carter Jernigan
parent 9db77e2afe
commit be08c85c38
2 changed files with 16 additions and 0 deletions

View File

@ -4,6 +4,14 @@ plugins {
`kotlin-dsl`
}
// 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
}
dependencies {
val rootProperties = getRootProperties()

View File

@ -4,6 +4,14 @@ plugins {
`kotlin-dsl-base`
}
// 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
}
repositories {
mavenCentral()
}