Skip to content

Commit

Permalink
fix(jar): add missing custom-plugin-jar task (datahub-project#10847)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-leifker authored and aviv-julienjehannet committed Jul 17, 2024
1 parent 8e8f32c commit 6473a09
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 6473a09

Please sign in to comment.