Skip to content

Commit

Permalink
Call additional publishToMavenLocal in maven build scripts and enable…
Browse files Browse the repository at this point in the history
… info

'publish' do not publish all artifacts to maven local and maven
fails because of it as it can't find dependencies.

KTI-729

(cherry picked from commit 74dd31d)
  • Loading branch information
goodwinnk committed Dec 19, 2022
1 parent 0403d70 commit d325cf8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/build-kotlin-compiler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ echo "DEPLOY_VERSION=$DEPLOY_VERSION"
echo "BUILD_NUMBER=$BUILD_NUMBER"

# Build dist/kotlin-compiler.zip
./gradlew -PdeployVersion=$DEPLOY_VERSION -Pbuild.number=$BUILD_NUMBER -Pteamcity=true zipCompiler -Dfile.encoding=UTF-8 --no-daemon
./gradlew --info -PdeployVersion=$DEPLOY_VERSION -Pbuild.number=$BUILD_NUMBER -Pteamcity=true zipCompiler -Dfile.encoding=UTF-8 --no-daemon
3 changes: 2 additions & 1 deletion scripts/build-kotlin-maven.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ mvn -DnewVersion=$DEPLOY_VERSION -DgenerateBackupPoms=false -DprocessAllModules=
-Pversions.kotlin-native=$KOTLIN_NATIVE_VERSION \
-Pteamcity=true \
--no-daemon \
publish
--info \
publish publishToMavenLocal

# Build maven part and publish it to the same build/repo
mvn \
Expand Down

0 comments on commit d325cf8

Please sign in to comment.