This repository has been archived on 2025-09-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2025LogProg-project-GhentPr.../build.gradle.kts

41 lines
691 B
Kotlin

plugins {
kotlin("jvm") version "2.1.10"
}
group = "be.ugent.logprog"
version = "0.1-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
testImplementation(kotlin("test"))
}
sourceSets {
getByName("main") {
kotlin.srcDir("src")
}
getByName("test") {
kotlin.srcDir("tests")
}
}
tasks {
withType<Jar> {
manifest {
attributes["Main-Class"] = "MainKt"
}
from(configurations.runtimeClasspath.get().map {
if (it.isDirectory) it else zipTree(it)
})
}
test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}
}