aboutsummaryrefslogtreecommitdiff
path: root/buildSrc/build.gradle.kts
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-07-02 23:22:11 -0700
committerAllan Wang <me@allanwang.ca>2019-07-02 23:22:11 -0700
commit5a107bcb768fa1e7fb110ba65e22e49b3b004eed (patch)
tree08d2214e1d1801ce2b731e7db00112c6015e8550 /buildSrc/build.gradle.kts
parent648a89d79fd26e717cde0ea58dff8a1a90d89475 (diff)
downloadfrost-5a107bcb768fa1e7fb110ba65e22e49b3b004eed.tar.gz
frost-5a107bcb768fa1e7fb110ba65e22e49b3b004eed.tar.bz2
frost-5a107bcb768fa1e7fb110ba65e22e49b3b004eed.zip
Convert install task to kotlin using delegation
Diffstat (limited to 'buildSrc/build.gradle.kts')
-rw-r--r--buildSrc/build.gradle.kts30
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)