38 lines
679 B
Plaintext
38 lines
679 B
Plaintext
|
|
plugins {
|
|
`kotlin-dsl`
|
|
}
|
|
|
|
sourceSets {
|
|
|
|
val preload by creating {
|
|
this.java {
|
|
srcDir("src/preload/kotlin")
|
|
}
|
|
}
|
|
val main by getting {
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
mavenLocal()
|
|
gradlePluginPortal()
|
|
}
|
|
|
|
|
|
dependencies {
|
|
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30")
|
|
val preloadImplementation by configurations.getting { }
|
|
preloadImplementation("org.openrndr:openrndr-application:0.5.1-SNAPSHOT")
|
|
preloadImplementation("org.openrndr:openrndr-extensions:0.5.1-SNAPSHOT")
|
|
}
|
|
|
|
tasks.all {
|
|
println(this.name)
|
|
|
|
}
|
|
tasks.getByName("compileKotlin").dependsOn("compilePreloadKotlin") |