Skip to content

Commit 7ebb7bc

Browse files
committed
gradle shadowJar, use old version to be able to maven publish.
see for a discussion here: GradleUp/shadow#651
1 parent 51aa7e6 commit 7ebb7bc

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/scripts/release-gradle-snapshot.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ if [[ -e "build/publications/maven/module.json.asc" ]]; then
2828
ln -s "../libs/plantuml-${POM_VERSION}.jar.asc" "${RELEASE_DIR}/plantuml-SNAPSHOT.jar.asc"
2929
ln -s "../libs/plantuml-${POM_VERSION}-javadoc.jar.asc" "${RELEASE_DIR}/plantuml-SNAPSHOT-javadoc.jar.asc"
3030
ln -s "../libs/plantuml-${POM_VERSION}-sources.jar.asc" "${RELEASE_DIR}/plantuml-SNAPSHOT-sources.jar.asc"
31-
ln -s "../libs/plantuml-pdf-${POM_VERSION}.jar.asc" "${RELEASE_DIR}/plantuml-pdf-SNAPSHOT.jar.asc"
3231
fi
3332

3433
echo -n "${DATE_TIME_UTC}" > "${RELEASE_DIR}/plantuml-SNAPSHOT.timestamp"

.github/scripts/release-gradle.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ if [[ -e "build/publications/maven/module.json.asc" ]]; then
1616
ln -s "../libs/plantuml-${POM_VERSION}.jar.asc" "${RELEASE_DIR}/plantuml-${POM_VERSION}.jar.asc"
1717
ln -s "../libs/plantuml-${POM_VERSION}-javadoc.jar.asc" "${RELEASE_DIR}/plantuml-${POM_VERSION}-javadoc.jar.asc"
1818
ln -s "../libs/plantuml-${POM_VERSION}-sources.jar.asc" "${RELEASE_DIR}/plantuml-${POM_VERSION}-sources.jar.asc"
19-
ln -s "../libs/plantuml-pdf-${POM_VERSION}.jar.asc" "${RELEASE_DIR}/plantuml-pdf-SNAPSHOT.jar.asc"
2019
fi
2120

2221
gh release create \

build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ val javacRelease = (project.findProperty("javacRelease") ?: "8") as String
88

99
plugins {
1010
java
11-
id("com.github.johnrengelman.shadow") version "7.1.2"
11+
// use 5.2.0 version because of
12+
id("com.github.johnrengelman.shadow") version "5.2.0"
1213
`maven-publish`
1314
signing
1415
}

0 commit comments

Comments
 (0)