[orx-tensorflow] Convert build.gradle to build.gradle.kts
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
plugins {
|
||||
id("org.openrndr.extra.convention.kotlin-jvm")
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
wrapgen {
|
||||
java {
|
||||
srcDirs = ["src/wrapgen/kotlin"]
|
||||
compileClasspath += main.getCompileClasspath()
|
||||
runtimeClasspath += main.getRuntimeClasspath()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
compileWrapgenKotlin {}
|
||||
|
||||
dependencies {
|
||||
implementation(libs.gson)
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.math)
|
||||
demoRuntimeOnly(project(":orx-jvm:orx-tensorflow-${gradle.ext.openrndrClassifier}"))
|
||||
demoRuntimeOnly(libs.openrndr.extensions)
|
||||
demoImplementation(libs.openrndr.ffmpeg)
|
||||
demoImplementation(project(":orx-fx"))
|
||||
api(libs.tensorflow)
|
||||
// -- wrapgen
|
||||
wrapgenImplementation(libs.javaparser.core)
|
||||
}
|
||||
10
orx-jvm/orx-tensorflow/build.gradle.kts
Normal file
10
orx-jvm/orx-tensorflow/build.gradle.kts
Normal file
@@ -0,0 +1,10 @@
|
||||
plugins {
|
||||
org.openrndr.extra.convention.`kotlin-jvm`
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(libs.gson)
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.math)
|
||||
api(libs.tensorflow)
|
||||
}
|
||||
Reference in New Issue
Block a user