CSharpCommentChecker/build.gradle.kts

39 lines
687 B
Plaintext
Raw Normal View History

2022-06-05 00:09:54 +02:00
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.7.0"
2022-06-05 00:09:54 +02:00
}
group = "nl.kallestruik"
version = "1.0"
repositories {
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-cli:0.3.5")
2022-06-05 00:09:54 +02:00
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "16"
}
tasks.withType<Jar>() {
manifest {
attributes(
"Main-Class" to "MainKt"
)
}
duplicatesStrategy = DuplicatesStrategy.INCLUDE
configurations["compileClasspath"].forEach { file: File ->
from(zipTree(file.absoluteFile))
}
}