Skip to content

Commit d325cf8

Browse files
committed
Call additional publishToMavenLocal in maven build scripts and enable 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)
1 parent 0403d70 commit d325cf8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scripts/build-kotlin-compiler.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ echo "DEPLOY_VERSION=$DEPLOY_VERSION"
2222
echo "BUILD_NUMBER=$BUILD_NUMBER"
2323

2424
# Build dist/kotlin-compiler.zip
25-
./gradlew -PdeployVersion=$DEPLOY_VERSION -Pbuild.number=$BUILD_NUMBER -Pteamcity=true zipCompiler -Dfile.encoding=UTF-8 --no-daemon
25+
./gradlew --info -PdeployVersion=$DEPLOY_VERSION -Pbuild.number=$BUILD_NUMBER -Pteamcity=true zipCompiler -Dfile.encoding=UTF-8 --no-daemon

scripts/build-kotlin-maven.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ mvn -DnewVersion=$DEPLOY_VERSION -DgenerateBackupPoms=false -DprocessAllModules=
3535
-Pversions.kotlin-native=$KOTLIN_NATIVE_VERSION \
3636
-Pteamcity=true \
3737
--no-daemon \
38-
publish
38+
--info \
39+
publish publishToMavenLocal
3940

4041
# Build maven part and publish it to the same build/repo
4142
mvn \

0 commit comments

Comments
 (0)