2024-03-30 10:11:39 +00:00
|
|
|
plugins {
|
2024-03-30 11:08:15 +00:00
|
|
|
id("java")
|
2024-11-16 19:11:09 +00:00
|
|
|
kotlin("jvm") version "1.9.25"
|
2024-03-30 11:08:15 +00:00
|
|
|
id("org.javamodularity.moduleplugin") version "1.8.12"
|
|
|
|
|
2024-03-30 10:11:39 +00:00
|
|
|
}
|
|
|
|
|
2024-04-07 09:08:31 +00:00
|
|
|
var junitVersion = "5.10.0"
|
2024-03-30 10:11:39 +00:00
|
|
|
group = "dev.nuculabs.imagetagger.ai"
|
2024-06-02 07:05:07 +00:00
|
|
|
version = "1.4"
|
2024-03-30 10:11:39 +00:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-04-27 12:33:37 +00:00
|
|
|
implementation(project(":img-core"))
|
2024-03-30 10:11:39 +00:00
|
|
|
implementation("com.microsoft.onnxruntime:onnxruntime:1.17.1")
|
|
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
2024-04-07 09:08:31 +00:00
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
|
|
|
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
|
2024-03-30 10:11:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
kotlin {
|
|
|
|
jvmToolchain(17)
|
|
|
|
}
|