projects
/
Sone.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae45954
)
🎨 Use different way to set kotlin compiler options
author
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Tue, 3 Mar 2020 21:00:16 +0000
(22:00 +0100)
committer
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Tue, 3 Mar 2020 21:00:16 +0000
(22:00 +0100)
build.gradle
patch
|
blob
|
history
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"
}