Add collectScreenshots task to kotlin-jvm convention

This commit is contained in:
Edwin Jakobs
2023-04-04 20:50:41 +02:00
parent 3cef8d202a
commit 5fe2d30f80
6 changed files with 6 additions and 52 deletions

View File

@@ -1,14 +1,7 @@
import ScreenshotsHelper.collectScreenshots
plugins {
org.openrndr.extra.convention.`kotlin-jvm`
}
sourceSets {
val demo by getting
collectScreenshots(project, demo) { }
}
dependencies {
implementation(libs.openrndr.application)
implementation(libs.openrndr.math)

View File

@@ -4,11 +4,6 @@ plugins {
org.openrndr.extra.convention.`kotlin-jvm`
}
sourceSets {
val demo by getting
collectScreenshots(project, demo) { }
}
dependencies {
api(project(":orx-parameters"))
api(project(":orx-jvm:orx-panel"))

View File

@@ -1,4 +1,3 @@
import ScreenshotsHelper.collectScreenshots
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
@@ -15,11 +14,6 @@ tasks.test {
}
}
sourceSets {
val demo by getting
collectScreenshots(project, demo) { }
}
dependencies {
implementation(libs.openrndr.application)
implementation(libs.openrndr.math)

View File

@@ -1,14 +1,7 @@
import ScreenshotsHelper.collectScreenshots
plugins {
org.openrndr.extra.convention.`kotlin-jvm`
}
sourceSets {
val demo by getting
collectScreenshots(project, demo) { }
}
dependencies {
implementation(libs.openrndr.application)
implementation(libs.openrndr.math)