-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
48 lines (36 loc) · 973 Bytes
/
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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
kotlin("jvm") version "1.9.23"
id("com.github.johnrengelman.shadow") version "8.1.1"
id("java")
}
group = "no.uio.tobiajoh"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
testImplementation(kotlin("test"))
implementation("net.sourceforge.owlapi:owlapi-distribution:5.5.0")
implementation("org.slf4j:slf4j-nop:2.0.0-alpha1")
implementation("com.github.ajalt.clikt:clikt:4.3.0")
implementation("io.kotlintest:kotlintest-runner-junit5:3.4.0")
//testImplementation("org.jetbrains.kotlin:kotlin-test-junit")
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(17)
}
tasks.withType<ShadowJar> {
manifest {
attributes("Main-Class" to "no.uio.tobiajoh.MainKt")
}
}
tasks.withType<Jar> {
manifest {
attributes("Main-Class" to "no.uio.tobiajoh.MainKt")
}
}