35 lines
769 B
Kotlin
35 lines
769 B
Kotlin
plugins {
|
|
id("java")
|
|
}
|
|
|
|
group = "be.naaturel"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.jfree:jfreechart:1.5.4")
|
|
implementation("com.fasterxml.jackson.core:jackson-databind:2.21.2")
|
|
|
|
implementation("org.jline:jline:3.27.1")
|
|
|
|
testImplementation(platform("org.junit:junit-bom:5.10.0"))
|
|
testImplementation("org.junit.jupiter:junit-jupiter")
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
}
|
|
|
|
tasks.jar {
|
|
manifest {
|
|
attributes["Main-Class"] = "com.naaturel.ANN.Main"
|
|
}
|
|
from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) })
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
} |