32 lines
588 B
Groovy
32 lines
588 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.jetbrains.kotlin.jvm'
|
|
id 'org.jetbrains.kotlin.plugin.serialization'
|
|
id 'maven-publish'
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.0"
|
|
}
|
|
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = 11
|
|
}
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = 11
|
|
}
|
|
|
|
java {
|
|
withJavadocJar()
|
|
withSourcesJar()
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
messages(MavenPublication) {
|
|
from components.java
|
|
groupId = "io.github.wulkanowy"
|
|
artifactId = "messages"
|
|
}
|
|
}
|
|
}
|