Skip to content

Commit

Permalink
Fix Jar publish command to only publish Jar. (#5066)
Browse files Browse the repository at this point in the history
  • Loading branch information
davinchia authored Jul 29, 2021
1 parent 71d2f79 commit bc7ae49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ configure(subprojects.findAll { toPublish.contains(it.getPath()) }) {
publications {
// This block is present so Gradle knows to publish a Maven jar.
maven(MavenPublication) {
from components.java
// Gradle will by default use the subproject path as the group id and the subproject name as the artifact id.
// e.g. the subproject :airbyte-scheduler:models is imported at io.airbyte.airbyte-config:persistence:<version-number>.
}
Expand Down

0 comments on commit bc7ae49

Please sign in to comment.