diff options
Diffstat (limited to 'runners/maven-plugin/build.gradle')
-rw-r--r-- | runners/maven-plugin/build.gradle | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/runners/maven-plugin/build.gradle b/runners/maven-plugin/build.gradle index 5fd06901..76fab68d 100644 --- a/runners/maven-plugin/build.gradle +++ b/runners/maven-plugin/build.gradle @@ -13,8 +13,8 @@ sourceCompatibility = 1.8 tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { kotlinOptions { freeCompilerArgs += "-Xjsr305=strict" - languageVersion = language_version - apiVersion = language_version + languageVersion = "1.2" + apiVersion = languageVersion jvmTarget = "1.8" } } @@ -52,10 +52,10 @@ task setupMaven(type: Sync) { def mavenBuildDir = "$buildDir/maven" -//sourceSets.main.resources { -// srcDirs += "$mavenBuildDir/classes/java/main" -// exclude "**/*.class" -//} +sourceSets.main.resources { + srcDirs += "$mavenBuildDir/classes/java/main" + exclude "**/*.class" +} task generatePom() { inputs.file(new File(projectDir, "pom.tpl.xml")) @@ -124,7 +124,7 @@ task pluginDescriptor(type: CrossPlatformExec, dependsOn: setupMaven) { //mergeClassOutputs.dependsOn compileKotlin //helpMojo.dependsOn mergeClassOutputs helpMojo.dependsOn generatePom -//sourceSets.main.java.srcDir("$buildDir/maven/generated-sources/plugin") +sourceSets.main.java.srcDir("$buildDir/maven/generated-sources/plugin") compileJava.dependsOn helpMojo processResources.dependsOn pluginDescriptor |