This commit is contained in:
14
build.sh
Executable file
14
build.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
# Universal build script for Maven and Gradle projects
|
||||
|
||||
echo "Current directory: $(pwd)"
|
||||
|
||||
# Check for Gradle or Gradle Wrapper
|
||||
|
||||
echo "Building Gradle project using wrapper: CameraApp"
|
||||
cd "."
|
||||
chmod +x ./gradlew
|
||||
./gradlew build
|
||||
cd - > /dev/null
|
||||
|
||||
echo "Build complete. Build artifacts should be in their respective target/ or build/libs/ directories."
|
||||
Reference in New Issue
Block a user