summaryrefslogtreecommitdiffstats
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorMurilo Ijanc <[email protected]>2026-07-26 12:19:13 -0300
committerMurilo Ijanc <[email protected]>2026-07-26 12:19:13 -0300
commit0757164507a1f9be8b9f61292a9069759f1da034 (patch)
treee958ba14c7f6a6ae3cdabe1ed0cd5f69b530edb7 /build.gradle.kts
downloadkotlin-0757164507a1f9be8b9f61292a9069759f1da034.tar.gz
Initial importv0.1.0
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts42
1 files changed, 42 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
new file mode 100644
index 0000000..31ce4a7
--- /dev/null
+++ b/build.gradle.kts
@@ -0,0 +1,42 @@
+plugins {
+ kotlin("jvm") version "2.1.20"
+ id("org.jlleitschuh.gradle.ktlint") version "12.1.2"
+ `java-library`
+ `maven-publish`
+}
+
+group = "org.cepis"
+version = "0.1.0"
+
+repositories {
+ mavenCentral()
+}
+
+dependencies {
+ testImplementation(kotlin("test"))
+ testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
+ testRuntimeOnly("org.junit.platform:junit-platform-launcher")
+}
+
+kotlin {
+ jvmToolchain(17)
+}
+
+java {
+ withSourcesJar()
+}
+
+tasks.test {
+ useJUnitPlatform()
+ testLogging {
+ events("passed", "skipped", "failed")
+ }
+}
+
+publishing {
+ publications {
+ create<MavenPublication>("maven") {
+ from(components["java"])
+ }
+ }
+}