This step will build an .apk using Gradle.
sudo apt install openjdk-11-jre-headless
Then aliased this gradle:
https://gitlab.com/fdroid/fdroidserver/-/blob/master/gradlew-fdroid
| Aborted |
This step will build an .apk using Gradle.
sudo apt install openjdk-11-jre-headless
Then aliased this gradle:
https://gitlab.com/fdroid/fdroidserver/-/blob/master/gradlew-fdroid
| 1 | Found 7.5.1 via distributionUrl |
|---|---|
| 2 | Running /home/phabricator-android-builder/versions/7.5.1/bin/gradle --stacktrace assembleGitpull |
| 3 | Starting a Gradle Daemon, 5 stopped Daemons could not be reused, use --status for details |
| 4 |
| Passed |
| 1 | Note: Some input files use or override a deprecated API. |
|---|---|
| 2 | Note: Recompile with -Xlint:deprecation for details. |
| 3 |
| 31 | /var/drydock/workingcopy-79/repo/libre-busto/app/build/tmp/kapt3/stubs/debug/it/reyboz/bustorino/data/gtfs/GtfsAgency.java:26: warning: Primary key constraint on gtfsId is ignored when being merged into it.reyboz.bustorino.data.gtfs.GtfsAgency |
|---|---|
| 32 | private it.reyboz.bustorino.data.gtfs.GtfsFeed feed; |
| 33 | ^ |
| 34 | |
| 35 | > Task :app:compileDebugKotlin |
| 36 | w: /var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt: (73, 13): Variable 'USGS_SAT' is never used |
| 37 | w: /var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt: (41, 36): Parameter 'view' is never used, could be renamed to _ |
| 38 | w: /var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt: (41, 42): Parameter 'motionEvent' is never used, could be renamed to _ |
| 39 | |
| 40 | > Task :app:compileDebugJavaWithJavac |
| 41 | |
| 42 | > Task :app:bundleDebugClassesToCompileJar |
| 43 | > Task :app:lintAnalyzeDebug |
| 44 | |
| 45 | Daemon will be stopped at the end of the build after running out of JVM memory |
| 46 | |
| 47 | > Task :app:lintReportDebug |
| 48 | Wrote HTML report to file:///var/drydock/workingcopy-79/repo/libre-busto/app/build/reports/lint-results-debug.html |
| 49 | |
| 50 | > Task :app:lintDebug |
| 51 | > Task :app:lint |
| 52 | |
| 53 | BUILD SUCCESSFUL in 2m 40s |
| 54 | 23 actionable tasks: 23 executed |
| 55 |
| Passed |
Clean Gradle directory to avoid nasty errors like:
| 1 | Found 7.5.1 via distributionUrl |
|---|---|
| 2 | Running /home/phabricator-android-builder/versions/7.5.1/bin/gradle clean |
| 3 | Starting a Gradle Daemon, 5 stopped Daemons could not be reused, use --status for details |
| 4 | > Task :app:clean |
| 5 | |
| 6 | BUILD SUCCESSFUL in 15s |
| 7 | 1 actionable task: 1 executed |
| 8 |
| Passed |
| Passed |