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 |
| 1 | Found 7.5.1 via distributionUrl |
|---|---|
| 2 | Running /home/phabricator-android-builder/versions/7.5.1/bin/gradle lint |
| 3 | > Task :app:preBuild UP-TO-DATE |
| 4 | > Task :app:preDebugBuild UP-TO-DATE |
| 5 | > Task :app:compileDebugAidl NO-SOURCE |
| 6 | > Task :app:compileDebugRenderscript NO-SOURCE |
| 7 | > Task :app:generateDebugBuildConfig |
| 8 | > Task :app:generateDebugResValues |
| 9 | > Task :app:checkDebugAarMetadata |
| 10 | > Task :app:mapDebugSourceSetPaths |
| 11 | > Task :app:generateDebugResources |
| 12 | > Task :app:createDebugCompatibleScreenManifests |
| 13 | > Task :app:extractDeepLinksDebug |
| 14 | |
| 15 | > Task :app:processDebugMainManifest |
| 16 | /var/drydock/workingcopy-79/repo/libre-busto/app/src/debug/AndroidManifest.xml:39:9-45:51 Warning: |
| 17 | provider#org.acra.attachment.AcraContentProvider@android:authorities was tagged at AndroidManifest.xml:39 to replace other declarations but no other declaration present |
| 18 | |
| 19 | > Task :app:mergeDebugResources |
| 20 | > Task :app:processDebugManifest |
| 21 | > Task :app:preDebugAndroidTestBuild SKIPPED |
| 22 | > Task :app:javaPreCompileDebug |
| 23 | > Task :app:processDebugAndroidTestManifest |
| 24 | > Task :app:compileDebugAndroidTestRenderscript NO-SOURCE |
| 25 | > Task :app:extractProguardFiles |
| 26 | > Task :app:generateDebugAndroidTestResValues |
| 27 | > Task :app:processDebugManifestForPackage |
| 28 | > Task :app:processDebugResources |
| 29 | > Task :app:kaptGenerateStubsDebugKotlin |
| 30 | |
| 31 | > Task :app:kaptDebugKotlin |
| 32 | /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 |
| 33 | private it.reyboz.bustorino.data.gtfs.GtfsFeed feed; |
| 34 | ^ |
| 35 | |
| 36 | > Task :app:compileDebugKotlin |
| 37 | 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 |
| 38 | 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 _ |
| 39 | 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 _ |
| 40 | |
| 41 | > Task :app:compileDebugJavaWithJavac |
| 42 | |
| 43 | > Task :app:bundleDebugClassesToCompileJar |
| 44 | > Task :app:lintAnalyzeDebug |
| 45 | |
| 46 | Daemon will be stopped at the end of the build after running out of JVM memory |
| 47 | |
| 48 | > Task :app:lintReportDebug |
| 49 | Wrote HTML report to file:///var/drydock/workingcopy-79/repo/libre-busto/app/build/reports/lint-results-debug.html |
| 50 | |
| 51 | > Task :app:lintDebug |
| 52 | > Task :app:lint |
| 53 | |
| 54 | BUILD SUCCESSFUL in 2m 40s |
| 55 | 23 actionable tasks: 23 executed |
| 56 |
| 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 |