File tree Expand file tree Collapse file tree 3 files changed +6
-13
lines changed Expand file tree Collapse file tree 3 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 1+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
12import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3+ import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
24
35/*
46 * Copyright 2019 Vladimir Sitnikov <[email protected] > @@ -56,9 +58,9 @@ fun Project.applyKotlinProjectConventions() {
5658 sourceCompatibility = JavaVersion .VERSION_1_8
5759 targetCompatibility = JavaVersion .VERSION_1_8
5860 }
59- tasks.withType<KotlinCompile > {
60- kotlinOptions {
61- jvmTarget = " 1.8 "
61+ tasks.withType<KotlinJvmCompile > {
62+ compilerOptions {
63+ jvmTarget = JvmTarget . JVM_1_8
6264 }
6365 }
6466}
Original file line number Diff line number Diff line change 1717org.gradle.parallel =true
1818kotlin.parallel.tasks.in.project =true
1919checksum.violation.log.level =lifecycle
20-
21- com.github.vlsi.checksum-dependency.sha512 =85307929539D50B53F4F652330D1B5C8118A6FC100704AF676EA765A4E4CF653C06EEB96B3A67DEA204188ED6B48B0A27A7C4B70C548BAC0B6A9EDDD8B35D661
22- com.github.vlsi.checksum-dependency.version =1.88
23-
24- # Plugins
25- com.github.autostyle.version =3.2
Original file line number Diff line number Diff line change 1717
1818pluginManagement {
1919 plugins {
20- fun String.v () = extra[" $this .version" ].toString()
21- fun PluginDependenciesSpec.idv (id : String , key : String = id) = id(id) version key.v()
22-
23- idv(" com.github.autostyle" )
20+ id(" com.github.autostyle" ) version " 4.0"
2421 }
2522}
2623
You can’t perform that action at this time.
0 commit comments