fix(gradle): publish source and javadocs

This commit is contained in:
Lucaskyy 2022-03-21 16:22:15 +01:00 committed by she11sh0cked
parent 8db8893ab1
commit 87bbde5e06

View file

@ -1,5 +1,6 @@
plugins { plugins {
kotlin("jvm") version "1.6.10" kotlin("jvm") version "1.6.10"
java
`maven-publish` `maven-publish`
} }
@ -27,6 +28,11 @@ tasks.test {
} }
} }
java {
withSourcesJar()
withJavadocJar()
}
publishing { publishing {
repositories { repositories {
maven { maven {