mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-10-31 16:01:00 +01:00
Skip yarn build steps on Jitpack
Jitpack doesn't have gclib required for Node 20 which means all builds fail there when yarn build is attempted. This makes yarn tasks conditional dependency with -PisJitpack flag which skips the problematic section Affects issues: - Possibly fixed #3411
This commit is contained in:
parent
3aa8a71501
commit
9ade3fbf01
@ -233,8 +233,12 @@ artifacts {
|
|||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
processResources {
|
||||||
|
// Skips Yarn build on Jitpack since Jitpack doesn't offer gclib version compatible with Node 20
|
||||||
|
// Jitpack build is used mainly for java dependencies.
|
||||||
|
if (!project.hasProperty("isJitpack")) {
|
||||||
dependsOn copyYarnBuildResults
|
dependsOn copyYarnBuildResults
|
||||||
dependsOn determineAssetModifications
|
dependsOn determineAssetModifications
|
||||||
|
}
|
||||||
dependsOn generateResourceForMySQLDriver
|
dependsOn generateResourceForMySQLDriver
|
||||||
dependsOn generateResourceForSQLiteDriver
|
dependsOn generateResourceForSQLiteDriver
|
||||||
dependsOn generateResourceForIpAddressMatcher
|
dependsOn generateResourceForIpAddressMatcher
|
||||||
|
@ -6,4 +6,4 @@ before_install:
|
|||||||
- apt-get install -y nodejs
|
- apt-get install -y nodejs
|
||||||
install:
|
install:
|
||||||
- cd Plan
|
- cd Plan
|
||||||
- ./gradlew shadowJar publishToMavenLocal
|
- ./gradlew -PisJitpack shadowJar publishToMavenLocal
|
||||||
|
Loading…
Reference in New Issue
Block a user