Merge pull request #111 from m4gr3d/setup_godot_tools_lib_maven_central

Update the Android build scripts to allow exporting 'Godot Tools' Android library to MavenCentral
This commit is contained in:
Rémi Verschelde
2025-04-22 12:20:57 +02:00
committed by GitHub
2 changed files with 2 additions and 6 deletions

View File

@@ -60,11 +60,7 @@ if [ "${CLASSICAL}" == "1" ]; then
cp bin/android_editor_builds/android_editor-picoos-debug.apk /root/out/tools/android_editor_picoos.apk
fi
# Restart from a clean tarball, as we'll copy all the contents
# outside the container for the MavenCentral upload.
rm -rf /root/godot/*
tar xf /root/godot.tar.gz --strip-components=1
cp -rf /root/swappy/* thirdparty/swappy-frame-pacing/
# Template builds
$SCONS platform=android arch=arm32 $OPTIONS target=template_debug
$SCONS platform=android arch=arm32 $OPTIONS target=template_release

View File

@@ -15,4 +15,4 @@ ${PODMAN} run -it --rm \
"source /root/keystore/config.sh && \
cp -r /root/godot/.gradle /root && \
cd /root/godot/platform/android/java && \
./gradlew publishTemplateReleasePublicationToSonatypeRepository --max-workers 1 closeAndReleaseSonatypeStagingRepository"
./gradlew publishAllPublicationToSonatypeRepository --max-workers 1 closeAndReleaseSonatypeStagingRepository"