Skip to content

Commit

Permalink
fix(jar): add missing custom-plugin-jar task (#10847)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-leifker authored Jul 3, 2024
1 parent 80e5a64 commit 581dc7f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion metadata-integration/java/custom-plugin-lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ configurations.all {
exclude group: 'org.antlr'
}

task sourcesJar(type: Jar) {
archiveClassifier = 'sources'
from sourceSets.main.allSource
}

task javadocJar(type: Jar) {
archiveClassifier = 'javadoc'
from javadoc
}

shadowJar {
zip64 = true
archiveClassifier = ''
Expand All @@ -59,7 +69,7 @@ publishing {
artifactId = 'datahub-custom-plugin-lib'
description = 'DataHub Java Custom Plugin dependencies'
url = 'https://datahubproject.io'
artifacts = [shadowJar]
artifacts = [shadowJar, javadocJar, sourcesJar]

scm {
connection = 'scm:git:git://github.com/datahub-project/datahub.git'
Expand Down

0 comments on commit 581dc7f

Please sign in to comment.