Skip to content

Commit 74dd31d

Browse files
goodwinnkSpace Team
authored andcommitted
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
1 parent d87ed38 commit 74dd31d

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 --no-daemon
25+
./gradlew --info -PdeployVersion=$DEPLOY_VERSION -Pbuild.number=$BUILD_NUMBER -Pteamcity=true zipCompiler --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)