The command is:
/opt/reyboz/android/bin/publish-latest-branch-build.sh ${buildable.revision}
Source code:
This step will copy the built .apk to an indexed HTTP directory exposed by Apache:
Passed |
The command is:
/opt/reyboz/android/bin/publish-latest-branch-build.sh ${buildable.revision}
Source code:
This step will copy the built .apk to an indexed HTTP directory exposed by Apache:
1 | Published here: |
---|---|
2 | https://lab.reyboz.it/builds/libre-busto/D116-libre-busto-unsigned.apk |
3 |
Passed |
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 assembleDebug |
3 | Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details |
4 | > Task :app:preBuild UP-TO-DATE |
5 | > Task :app:preDebugBuild UP-TO-DATE |
6 | > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE |
7 | > Task :app:compileDebugAidl NO-SOURCE |
8 | > Task :app:compileDebugRenderscript UP-TO-DATE |
9 | > Task :app:generateDebugBuildConfig UP-TO-DATE |
10 | > Task :app:checkDebugAarMetadata UP-TO-DATE |
11 | > Task :app:generateDebugResValues UP-TO-DATE |
12 | > Task :app:mapDebugSourceSetPaths UP-TO-DATE |
13 | > Task :app:generateDebugResources UP-TO-DATE |
14 | > Task :app:mergeDebugResources UP-TO-DATE |
15 | > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE |
16 | > Task :app:extractDeepLinksDebug UP-TO-DATE |
17 | > Task :app:processDebugMainManifest UP-TO-DATE |
18 | > Task :app:processDebugManifest UP-TO-DATE |
19 | > Task :app:processDebugManifestForPackage UP-TO-DATE |
20 | > Task :app:processDebugResources UP-TO-DATE |
21 | > Task :app:kaptGenerateStubsDebugKotlin UP-TO-DATE |
22 | > Task :app:kaptDebugKotlin UP-TO-DATE |
23 | > Task :app:compileDebugKotlin UP-TO-DATE |
24 | > Task :app:javaPreCompileDebug UP-TO-DATE |
25 | > Task :app:compileDebugJavaWithJavac UP-TO-DATE |
26 | > Task :app:mergeDebugShaders |
27 | > Task :app:compileDebugShaders NO-SOURCE |
28 | > Task :app:generateDebugAssets UP-TO-DATE |
29 | > Task :app:mergeDebugAssets |
30 | > Task :app:processDebugJavaRes |
31 | > Task :app:compressDebugAssets |
32 | > Task :app:checkDebugDuplicateClasses |
33 | > Task :app:mergeDebugJavaResource |
34 | > Task :app:desugarDebugFileDependencies |
35 | > Task :app:dexBuilderDebug |
36 | > Task :app:mergeDexDebug |
37 | > Task :app:mergeDebugJniLibFolders |
38 | > Task :app:mergeDebugNativeLibs NO-SOURCE |
39 | > Task :app:stripDebugDebugSymbols NO-SOURCE |
40 | > Task :app:validateSigningDebug |
41 | > Task :app:writeDebugAppMetadata |
42 | > Task :app:writeDebugSigningConfigVersions |
43 | > Task :app:packageDebug |
44 | > Task :app:createDebugApkListingFileRedirect |
45 | > Task :app:assembleDebug |
46 | |
47 | BUILD SUCCESSFUL in 1m 51s |
48 | 32 actionable tasks: 15 executed, 17 up-to-date |
49 |
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 | |
7 | > Task :app:compileDebugRenderscript |
8 | The RenderScript APIs are deprecated. They will be removed in Android Gradle plugin 9.0. See the following link for a guide to migrate from RenderScript: https://developer.android.com/guide/topics/renderscript/migrate |
9 | |
10 | > Task :app:generateDebugBuildConfig |
11 | > Task :app:generateDebugResValues |
12 | > Task :app:checkDebugAarMetadata |
13 | > Task :app:mapDebugSourceSetPaths |
14 | > Task :app:generateDebugResources |
15 | > Task :app:createDebugCompatibleScreenManifests |
16 | > Task :app:extractDeepLinksDebug |
17 | |
18 | > Task :app:processDebugMainManifest |
19 | package="it.reyboz.bustorino" found in source AndroidManifest.xml: /var/drydock/workingcopy-112/repo/libre-busto/app/AndroidManifest.xml. |
20 | Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated. |
21 | Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace |
22 | This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information. |
23 | /var/drydock/workingcopy-112/repo/libre-busto/app/src/debug/AndroidManifest.xml:39:9-45:51 Warning: |
24 | provider#org.acra.attachment.AcraContentProvider@android:authorities was tagged at AndroidManifest.xml:39 to replace other declarations but no other declaration present |
25 | |
26 | > Task :app:mergeDebugResources |
27 | > Task :app:processDebugManifest |
28 | > Task :app:preDebugAndroidTestBuild SKIPPED |
29 | > Task :app:javaPreCompileDebug |
30 | > Task :app:processDebugAndroidTestManifest |
31 | > Task :app:compileDebugAndroidTestRenderscript NO-SOURCE |
32 | > Task :app:extractProguardFiles |
33 | > Task :app:generateDebugAndroidTestResValues |
34 | > Task :app:processDebugManifestForPackage |
35 | > Task :app:processDebugResources |
36 | > Task :app:kaptGenerateStubsDebugKotlin |
37 | |
38 | > Task :app:kaptDebugKotlin |
39 | /var/drydock/workingcopy-112/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 |
40 | private it.reyboz.bustorino.data.gtfs.GtfsFeed feed; |
41 | ^ |
42 | |
43 | > Task :app:compileDebugKotlin |
44 | w: /var/drydock/workingcopy-112/repo/libre-busto/app/src/it/reyboz/bustorino/map/BusInfoWindow.kt: (41, 36): Parameter 'view' is never used, could be renamed to _ |
45 | w: /var/drydock/workingcopy-112/repo/libre-busto/app/src/it/reyboz/bustorino/map/BusInfoWindow.kt: (41, 42): Parameter 'motionEvent' is never used, could be renamed to _ |
46 | |
47 | > Task :app:compileDebugJavaWithJavac |
48 | |
49 | > Task :app:bundleDebugClassesToCompileJar |
50 | > Task :app:lintAnalyzeDebug |
51 | |
52 | Daemon will be stopped at the end of the build after running out of JVM memory |
53 | |
54 | > Task :app:lintReportDebug |
55 | Wrote HTML report to file:///var/drydock/workingcopy-112/repo/libre-busto/app/build/reports/lint-results-debug.html |
56 | |
57 | > Task :app:lintDebug |
58 | > Task :app:lint |
59 | |
60 | BUILD SUCCESSFUL in 3m 24s |
61 | 24 actionable tasks: 24 executed |
62 |
Passed |
Clean Gradle directory to avoid nasty errors like:
1 | Found 7.5.1 via distributionUrl |
---|---|
2 | Downloading missing gradle version 7.5.1 |
3 | cachedir |
4 | /tmp/tmp.weyhPjnZE6/gradle-7.5.1-bin.zip: OK |
5 | Running /home/phabricator-android-builder/versions/7.5.1/bin/gradle clean |
6 | |
7 | Welcome to Gradle 7.5.1! |
8 | |
9 | Here are the highlights of this release: |
10 | - Support for Java 18 |
11 | - Support for building with Groovy 4 |
12 | - Much more responsive continuous builds |
13 | - Improved diagnostics for dependency resolution |
14 | |
15 | For more details see https://docs.gradle.org/7.5.1/release-notes.html |
16 | |
17 | Starting a Gradle Daemon (subsequent builds will be faster) |
18 | > Task :app:clean |
19 | |
20 | BUILD SUCCESSFUL in 54s |
21 | 1 actionable task: 1 executed |
22 |
Passed |
Passed |