messages/pojos/build.gradle
2021-10-03 16:58:00 +02:00

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"
}
}
}