Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/android-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
- name: Make gradlew executable
run: chmod +x ./gradlew

- name: Verify Gradle wrapper files
run: |
test -f ./gradlew
test -f ./gradle/wrapper/gradle-wrapper.properties
test -f ./gradle/wrapper/gradle-wrapper.jar

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Commit wrapper JAR before requiring it in CI

This workflow now hard-fails on test -f ./gradle/wrapper/gradle-wrapper.jar, but this commit does not add gradle/wrapper/gradle-wrapper.jar (only README.md and gradle-wrapper.properties are added under gradle/wrapper), so every push/PR run will fail before assembleDebug executes. In practice this blocks the new build-debug pipeline for this commit until the JAR is actually tracked in the repository or this check is relaxed.

Useful? React with 👍 / 👎.


- name: Build debug APK
run: ./gradlew assembleDebug

Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ Code is organized by internal packages:
3. Build and run `app` on Android 12+.
4. Grant root access when prompted by your root manager.

## Gradle wrapper + CI notes
- This repository is expected to include a full Gradle wrapper so GitHub Actions can run:
- `chmod +x ./gradlew`
- `./gradlew assembleDebug`
- Required wrapper files:
- `gradlew`
- `gradlew.bat`
- `gradle/wrapper/gradle-wrapper.properties`
- `gradle/wrapper/gradle-wrapper.jar`
- `gradle-wrapper.jar` is intentionally managed manually in this workflow. If it is missing, add it locally before pushing so `.github/workflows/android-debug.yml` can build and upload the debug APK artifact.

## Runtime notes
- If root is missing, Dead Zon reports unavailable root and overlay operations fail gracefully.
- If a mapped overlay package is not installed on the ROM, it is skipped and recorded in logs.
Expand Down
8 changes: 8 additions & 0 deletions gradle/wrapper/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## Gradle wrapper directory

Keep the following files in this folder for CI builds:

- `gradle-wrapper.properties` (tracked)
- `gradle-wrapper.jar` (manually added before push)

GitHub Actions workflow `.github/workflows/android-debug.yml` uses `./gradlew assembleDebug` and requires the wrapper JAR to exist in this directory.
7 changes: 7 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=false
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
251 changes: 251 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

94 changes: 94 additions & 0 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading