projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
🎨 Use different way to set kotlin compiler options
[Sone.git]
/
build.gradle
diff --git
a/build.gradle
b/build.gradle
index
3f44ffa
..
c7c2459
100644
(file)
--- a/
build.gradle
+++ b/
build.gradle
@@
-1,3
+1,4
@@
+import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.70'
@@
-22,7
+23,7
@@
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
-
compileKotlin
{
+
tasks.withType(KotlinCompile)
{
kotlinOptions {
jvmTarget = "1.8"
}