8000 Always copy the license file to fix ./gradlew assemble by syphyr · Pull Request #1618 · guardianproject/orbot-android · GitHub
[go: up one dir, main page]

Skip to content

Always copy the license file to fix ./gradlew assemble#1618

Merged
bitmold merged 2 commits intoguardianproject:masterfrom
syphyr:fix_assemble
Feb 25, 2026
Merged

Always copy the license file to fix ./gradlew assemble#1618
bitmold merged 2 commits intoguardianproject:masterfrom
syphyr:fix_assemble

Conversation

@syphyr
Copy link
Contributor
@syphyr syphyr commented Feb 25, 2026

Fix gradlew assemble from failing because the LICENSE file is not copied to assets first.
This PR makes gradle always copy the LICENSE file to the assets directory with both release and debug builds.
The task for checking for updated bridges will still only be for release builds.

@syphyr
Copy link
Contributor Author
syphyr commented Feb 25, 2026

Task ':app:mergeNightlyDebugAssets' uses this output of task ':app:copyLicenseToAssets' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

@syphyr
Copy link
Contributor Author
syphyr commented Feb 25, 2026

Both ./gradlew assembleRelease and ./gradlew assembleDebug already work fine. This PR is just to fix ./gradlew assemble.

@bitmold bitmold merged commit 4beb294 into guardianproject:master Feb 25, 2026
Sign up for free to join this conversation on Gi 729C tHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0