added build script that detects subprojects in src containing a build.gradle and execute gradle
Some checks failed
Test setup and build APKs archlinux / Build-APK-Arch-Linux (push) Failing after 6m14s
Test setup and build APKs / Build-and-Create-Development-Environment (push) Successful in 11s

This commit is contained in:
2025-12-09 15:50:54 +01:00
parent 5ebaafe6de
commit 05d1afc98d
102 changed files with 18 additions and 0 deletions

13
build.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
# This script will initialize the gradle build process for all subprojects in src dicetory
# Find all src subdirectories containing a build.gradle file
for dir in src/*/; do
if [ -f "$dir/build.gradle" ]; then
echo "Building project in $dir"
(cd "$dir" && gradle build)
else
echo "No build.gradle found in $dir, skipping."
fi
done