Reduce duplication in orx build scripts. (#240)
Co-authored-by: hamoid <abe@hamoid.com>
This commit is contained in:
@@ -12,26 +12,21 @@ sourceSets {
|
||||
collectScreenshots(project, demo) { }
|
||||
}
|
||||
|
||||
val openrndrVersion: String by rootProject.extra
|
||||
val openrndrOS: String by rootProject.extra
|
||||
val slf4jVersion: String by rootProject.extra
|
||||
val gsonVersion: String by rootProject.extra
|
||||
val kotlinVersion: String by rootProject.extra
|
||||
val demoImplementation by configurations.getting {}
|
||||
val demoRuntimeOnly by configurations.getting {}
|
||||
|
||||
dependencies {
|
||||
api(project(":orx-parameters"))
|
||||
api(project(":orx-jvm:orx-panel"))
|
||||
implementation("org.openrndr:openrndr-filter:$openrndrVersion")
|
||||
implementation("org.openrndr:openrndr-dialogs:$openrndrVersion")
|
||||
implementation("com.google.code.gson:gson:$gsonVersion")
|
||||
implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
|
||||
demoImplementation("org.openrndr:openrndr-application:$openrndrVersion")
|
||||
demoImplementation("org.openrndr:openrndr-extensions:$openrndrVersion")
|
||||
implementation(libs.openrndr.filter)
|
||||
implementation(libs.openrndr.dialogs)
|
||||
implementation(libs.gson)
|
||||
implementation(libs.kotlin.reflect)
|
||||
demoImplementation(libs.openrndr.application)
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
|
||||
demoRuntimeOnly("org.slf4j:slf4j-simple:$slf4jVersion")
|
||||
demoRuntimeOnly("org.openrndr:openrndr-gl3:$openrndrVersion")
|
||||
demoRuntimeOnly("org.openrndr:openrndr-gl3-natives-$openrndrOS:$openrndrVersion")
|
||||
demoRuntimeOnly(libs.slf4j.simple)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user