aboutsummaryrefslogtreecommitdiff
path: root/runners/maven-plugin
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-14 16:19:46 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-23 16:58:30 +0300
commitf94beaa25f07333ad47738d5d7fafdd3dd302b04 (patch)
treefc6bfc169c0bdc7bf44b2b36932d0d406260541e /runners/maven-plugin
parentac00e0375473a5de711f7866cb17ea5c82f4e7a5 (diff)
downloaddokka-f94beaa25f07333ad47738d5d7fafdd3dd302b04.tar.gz
dokka-f94beaa25f07333ad47738d5d7fafdd3dd302b04.tar.bz2
dokka-f94beaa25f07333ad47738d5d7fafdd3dd302b04.zip
Clarify Kotlin Versions and config in project
Diffstat (limited to 'runners/maven-plugin')
-rw-r--r--runners/maven-plugin/build.gradle15
1 files changed, 10 insertions, 5 deletions
diff --git a/runners/maven-plugin/build.gradle b/runners/maven-plugin/build.gradle
index a9a77a8b..0e8d6a4d 100644
--- a/runners/maven-plugin/build.gradle
+++ b/runners/maven-plugin/build.gradle
@@ -1,17 +1,22 @@
import groovy.io.FileType
import org.jetbrains.CrossPlatformExec
-import shadow.org.apache.commons.io.FileUtils
-import java.nio.file.FileVisitResult
import java.nio.file.Files
-import java.nio.file.Paths
import java.nio.file.StandardCopyOption
-import java.nio.file.attribute.BasicFileAttributes
-
apply plugin: 'kotlin'
apply plugin: 'com.github.johnrengelman.shadow'
+sourceCompatibility = 1.8
+
+tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
+ kotlinOptions {
+ freeCompilerArgs += "-Xjsr305=strict"
+ languageVersion = "1.2"
+ apiVersion = languageVersion
+ jvmTarget = "1.8"
+ }
+}
dependencies {
shadow project(":runners:fatjar")