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
1
2
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3
+ import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
2
4
3
5
/*
4
6
* Copyright 2019 Vladimir Sitnikov <[email protected] >
@@ -56,9 +58,9 @@ fun Project.applyKotlinProjectConventions() {
56
58
sourceCompatibility = JavaVersion .VERSION_1_8
57
59
targetCompatibility = JavaVersion .VERSION_1_8
58
60
}
59
- tasks.withType<KotlinCompile > {
60
- kotlinOptions {
61
- jvmTarget = " 1.8 "
61
+ tasks.withType<KotlinJvmCompile > {
62
+ compilerOptions {
63
+ jvmTarget = JvmTarget . JVM_1_8
62
64
}
63
65
}
64
66
}
Original file line number Diff line number Diff line change 17
17
org.gradle.parallel =true
18
18
kotlin.parallel.tasks.in.project =true
19
19
checksum.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 17
17
18
18
pluginManagement {
19
19
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"
24
21
}
25
22
}
26
23
You can’t perform that action at this time.
0 commit comments