Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
To include JARs that should be included when publishing to maven
  • Loading branch information
eggohito committed Jul 16, 2022
1 parent 677dc77 commit a0d3108
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,13 @@ jar {
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
// Add all the built JARs that should be included when publishing to maven
artifact(remapJar) {
builtBy remapJar
}
artifact(sourcesJar) {
builtBy remapSourcesJar
}
}
}

Expand Down

0 comments on commit a0d3108

Please sign in to comment.