Skip to content

Commit 11a2d27

Browse files
committed
Trying to fix some of the codex mess
1 parent ef109fb commit 11a2d27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build-android-app.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ fi
412412
ba_log "Building Android gradle project using Codename One port"
413413
xvfb-run -a "${MAVEN_CMD[@]}" -q -f "$APP_DIR/pom.xml" package -DskipTests -Dcodename1.platform=android -Dcodename1.buildTarget=android-source -Dopen=false "${EXTRA_MVN_ARGS[@]}"
414414

415-
GRADLE_PROJECT_DIR=$(find "$APP_DIR/target" -maxdepth 1 -type d -name "*-android-source" | head -n 1 || true)
415+
GRADLE_PROJECT_DIR=$(find "$APP_DIR/target" -maxdepth 2 -type d -name "*-android-source" | head -n 1 || true)
416416
if [ -z "$GRADLE_PROJECT_DIR" ]; then
417417
ba_log "Failed to locate generated Android project" >&2
418418
exit 1

0 commit comments

Comments
 (0)