Skip to content

Commit

Permalink
fix(shadowJar): fix shadowJar (#11968)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-leifker authored Nov 27, 2024
1 parent f9cc67d commit 3b00fd7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check-datahub-jars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ jobs:
- name: check ${{ matrix.command }} jar
run: |
./gradlew :metadata-integration:java:${{ matrix.command }}:build --info
./gradlew :metadata-integration:java:${{ matrix.command }}:checkShadowJar
./gradlew :metadata-integration:java:${{ matrix.command }}:javadoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ jar -tvf $jarFile |\
grep -v "mime.types" |\
grep -v "com/ibm/.*" |\
grep -v "org/glassfish/" |\
grep -v "LICENSE"
grep -v "LICENSE" |\
grep -v "org/apache/avro" |\
grep -v "org/apache"

if [ $? -ne 0 ]; then
echo "✅ No unexpected class paths found in ${jarFile}"
Expand Down
4 changes: 0 additions & 4 deletions metadata-integration/java/datahub-schematron/lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ jacocoTestReport {

test.finalizedBy jacocoTestReport

task checkShadowJar(type: Exec) {
commandLine 'sh', '-c', 'scripts/check_jar.sh'
}

configurations {
provided
implementation.extendsFrom provided
Expand Down

0 comments on commit 3b00fd7

Please sign in to comment.