fix(gradle): publish source and javadocs

This commit is contained in:
Lucaskyy 2022-03-21 16:22:15 +01:00 committed by oSumAtrIX
parent 674461f08d
commit c236ebe078
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

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 {