mirror of
https://github.com/tribufu/tribufu-java
synced 2026-05-06 14:57:27 +00:00
32 lines
511 B
Kotlin
32 lines
511 B
Kotlin
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
kotlin("jvm") version "1.4.10"
|
|
|
|
`java-library`
|
|
}
|
|
|
|
group = "tribufu"
|
|
version = "0.0.1"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(kotlin("test-junit"))
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnit()
|
|
}
|
|
|
|
tasks.jar {
|
|
manifest {
|
|
attributes(mapOf("Implementation-Title" to project.name, "Implementation-Version" to project.version))
|
|
}
|
|
}
|
|
|
|
tasks.withType<KotlinCompile>() {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|