Skip to content

Commit

Permalink
Ensure gradle publish includes sources and documentation (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonologico authored Jul 5, 2022
1 parent 6ba7a2c commit fc4dd05
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ ext.sharedManifest = manifest {
)
}


repositories {
mavenCentral()
}
Expand Down Expand Up @@ -128,6 +127,11 @@ artifacts {
archives jar, fatJar, sourcesJar, javadocJar
}

java {
withJavadocJar()
withSourcesJar()
}

publishing {
publications {
mavenJava(MavenPublication) {
Expand Down

0 comments on commit fc4dd05

Please sign in to comment.