-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
57 lines (44 loc) · 1.35 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
// Apply the java plugin to add support for Java
java
// Apply the application plugin to add support for building a CLI application.
application
kotlin("jvm") version "2.1.0"
}
repositories {
jcenter()
maven {
url = uri("https://repo.maven.apache.org/maven2")
name = "Maven Central"
}
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.0")
// Deeplearning4J
implementation("org.deeplearning4j:deeplearning4j-core:1.0.0-M2.1")
implementation("org.nd4j:nd4j-native-platform:1.0.0-M2.1")
// Logging
implementation("ch.qos.logback:logback-classic:1.5.16")
// Test
testRuntimeOnly("org.junit.jupiter:junit-jupiter:5.11.4")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.11.4")
testImplementation("org.junit.jupiter:junit-jupiter-params:5.11.4")
testImplementation("org.assertj:assertj-core:3.27.3")
}
application {
mainClass.set("net.b0n541.ai.App")
}
val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions {
jvmTarget = "17"
}
val compileTestKotlin: KotlinCompile by tasks
compileTestKotlin.kotlinOptions {
jvmTarget = "17"
}
val test by tasks.getting(Test::class) {
useJUnitPlatform()
}
val wrapper: Wrapper by tasks
wrapper.gradleVersion = "8.6"