Add publishing config

This commit is contained in:
Mikołaj Pich 2021-10-03 16:58:00 +02:00
parent 44f22612bc
commit 6ff1fe177b
2 changed files with 15 additions and 1 deletions

View file

@ -11,7 +11,6 @@ plugins {
}
version = "0.1.0-SNAPSHOT"
group = "io.github.wulkanowy"
allprojects {
repositories {

View file

@ -15,3 +15,18 @@ compileKotlin {
compileTestKotlin {
kotlinOptions.jvmTarget = 11
}
java {
withJavadocJar()
withSourcesJar()
}
publishing {
publications {
messages(MavenPublication) {
from components.java
groupId = "io.github.wulkanowy"
artifactId = "messages"
}
}
}