diff options
Diffstat (limited to 'buildSrc/build.gradle.kts')
-rw-r--r-- | buildSrc/build.gradle.kts | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index aded2979..efb7a7dd 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -2,8 +2,8 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { `kotlin-dsl` - groovy - idea +// groovy +// idea } group = "com.pitchedapps" @@ -26,22 +26,22 @@ val kau = rootProps.useLines { println("Using kau $kau") -sourceSets { - main { - withConvention(GroovySourceSet::class) { - groovy.srcDir("src/main/groovy") - } - } -} +//sourceSets { +// main { +// withConvention(GroovySourceSet::class) { +// groovy.srcDir("src/main/groovy") +// } +// } +//} dependencies { implementation("ca.allanwang.kau:gradle-plugin:$kau") implementation("com.moowork.gradle:gradle-node-plugin:1.3.1") } -val compileGroovy = tasks.withType<GroovyCompile>().first() -val compileKotlin = tasks.withType<KotlinCompile>().first() - -compileGroovy.dependsOn.remove(compileKotlin) -compileKotlin.dependsOn(compileGroovy) -compileKotlin.classpath += files(compileGroovy.destinationDir) +//val compileGroovy = tasks.withType<GroovyCompile>().first() +//val compileKotlin = tasks.withType<KotlinCompile>().first() +// +//compileGroovy.dependsOn.remove(compileKotlin) +//compileKotlin.dependsOn(compileGroovy) +//compileKotlin.classpath += files(compileGroovy.destinationDir) |