[orx-camera] Re-add Camera2D (#275)

This commit is contained in:
Abe Pazos
2022-09-15 19:32:22 +00:00
committed by GitHub
parent 819537c6c4
commit d8c73af3a0
3 changed files with 87 additions and 1 deletions

View File

@@ -1,8 +1,26 @@
import ScreenshotsHelper.collectScreenshots
plugins {
org.openrndr.extra.convention.`kotlin-multiplatform`
}
kotlin {
jvm {
@Suppress("UNUSED_VARIABLE")
val demo by compilations.getting {
// TODO: Move demos to /jvmDemo
defaultSourceSet {
kotlin.srcDir("src/demo/kotlin")
}
collectScreenshots { }
}
testRuns["test"].executionTask {
useJUnitPlatform {
includeEngines("spek2")
}
}
}
sourceSets {
@Suppress("UNUSED_VARIABLE")
val commonMain by getting {
@@ -15,5 +33,12 @@ kotlin {
implementation(libs.kotlin.reflect)
}
}
@Suppress("UNUSED_VARIABLE")
val jvmDemo by getting {
dependencies {
implementation(project(":orx-camera"))
}
}
}
}
}