Add ApplicationPreload mechanism to collectScreenshots
This commit is contained in:
@@ -3,12 +3,36 @@ 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")
|
||||
Reference in New Issue
Block a user