Use maven wrapper for reproducible build
This commit is contained in:
committed by
Space Team
parent
83a2158744
commit
1af7649ee9
@@ -26,7 +26,7 @@ echo "BUILD_NUMBER=$BUILD_NUMBER"
|
|||||||
echo "KOTLIN_NATIVE_VERSION=$KOTLIN_NATIVE_VERSION"
|
echo "KOTLIN_NATIVE_VERSION=$KOTLIN_NATIVE_VERSION"
|
||||||
|
|
||||||
# Update versions in pom.xml
|
# Update versions in pom.xml
|
||||||
mvn -DnewVersion=$DEPLOY_VERSION -DgenerateBackupPoms=false -DprocessAllModules=true -f libraries/pom.xml versions:set
|
./libraries/mvnw -DnewVersion=$DEPLOY_VERSION -DgenerateBackupPoms=false -DprocessAllModules=true -f libraries/pom.xml versions:set
|
||||||
|
|
||||||
# Build part of kotlin and publish it to the local maven repository and to build/repo directory
|
# Build part of kotlin and publish it to the local maven repository and to build/repo directory
|
||||||
./gradlew \
|
./gradlew \
|
||||||
@@ -39,7 +39,7 @@ mvn -DnewVersion=$DEPLOY_VERSION -DgenerateBackupPoms=false -DprocessAllModules=
|
|||||||
publish publishToMavenLocal
|
publish publishToMavenLocal
|
||||||
|
|
||||||
# Build maven part and publish it to the same build/repo
|
# Build maven part and publish it to the same build/repo
|
||||||
mvn \
|
./libraries/mvnw \
|
||||||
-f libraries/pom.xml \
|
-f libraries/pom.xml \
|
||||||
clean deploy \
|
clean deploy \
|
||||||
-Ddeploy-url=file://$(pwd)/build/repo \
|
-Ddeploy-url=file://$(pwd)/build/repo \
|
||||||
|
|||||||
Reference in New Issue
Block a user