Update to Kotlin 1.5 (and associated deps) (#1339)

This commit is contained in:
Zac Sweers
2021-05-07 12:51:33 -04:00
committed by GitHub
parent 45c8595bfa
commit e343751593
12 changed files with 156 additions and 135 deletions

View File

@@ -14,12 +14,20 @@
* limitations under the License.
*/
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm")
id("com.vanniktech.maven.publish")
id("ru.vyarus.animalsniffer")
}
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions {
jvmTarget = "1.6"
}
}
dependencies {
compileOnly(Dependencies.jsr305)
api(project(":moshi"))