Add publishing config
This commit is contained in:
parent
44f22612bc
commit
6ff1fe177b
2 changed files with 15 additions and 1 deletions
|
@ -11,7 +11,6 @@ plugins {
|
|||
}
|
||||
|
||||
version = "0.1.0-SNAPSHOT"
|
||||
group = "io.github.wulkanowy"
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue