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
| Failed |
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
| 208 | at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59) |
|---|---|
| 209 | at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$0(DefaultWorkerExecutor.java:174) |
| 210 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:187) |
| 211 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.access$700(DefaultConditionalExecutionQueue.java:120) |
| 212 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner$1.run(DefaultConditionalExecutionQueue.java:162) |
| 213 | at org.gradle.internal.Factories$1.create(Factories.java:31) |
| 214 | at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:264) |
| 215 | at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:128) |
| 216 | at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:133) |
| 217 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:157) |
| 218 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:126) |
| 219 | ... 2 more |
| 220 | Caused by: java.lang.OutOfMemoryError: Java heap space |
| 221 | at com.android.zipflinger.NoCopyByteArrayOutputStream.<init>(NoCopyByteArrayOutputStream.java:27) |
| 222 | at com.android.zipflinger.Compressor.deflate(Compressor.java:35) |
| 223 | at com.android.zipflinger.BytesSource.build(BytesSource.java:89) |
| 224 | at com.android.zipflinger.BytesSource.<init>(BytesSource.java:50) |
| 225 | at com.android.zipflinger.Sources.from(Sources.java:50) |
| 226 | at com.android.zipflinger.Sources.from(Sources.java:33) |
| 227 | at com.android.builder.internal.packaging.ApkFlinger$writeFile$1.call(ApkFlinger.kt:208) |
| 228 | at com.android.builder.internal.packaging.ApkFlinger$writeFile$1.call(ApkFlinger.kt:205) |
| 229 | |
| 230 | |
| 231 | BUILD FAILED in 3m 17s |
| 232 |
| 158 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:215:48 'Criteria' is deprecated. Deprecated in Java |
|---|---|
| 159 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:50:43 Variable 'map' initializer is redundant |
| 160 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:53:40 Unchecked cast: Any! to Map<String?, Any>? |
| 161 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:71:51 No cast needed |
| 162 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:73:49 No cast needed |
| 163 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:75:46 No cast needed |
| 164 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:77:48 No cast needed |
| 165 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:79:48 No cast needed |
| 166 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:81:42 No cast needed |
| 167 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:83:56 Unchecked cast: Any to Set<String?> |
| 168 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/LivePositionsViewModel.kt:271:29 Parameter 'req' is never used, could be renamed to _ |
| 169 | |
| 170 | > Task :app:compileGitpullJavaWithJavac |
| 171 | |
| 172 | > Task :app:generateGitpullLintVitalReportModel |
| 173 | > Task :app:dexBuilderGitpull |
| 174 | > Task :app:processGitpullJavaRes |
| 175 | > Task :app:mergeGitpullGlobalSynthetics |
| 176 | > Task :app:mergeGitpullJavaResource |
| 177 | > Task :app:mergeDexGitpull |
| 178 | > Task :app:compileGitpullArtProfile |
| 179 | > Task :app:packageGitpull FAILED |
| 180 | > Task :app:lintVitalAnalyzeGitpull |
| 181 | 47 actionable tasks: 46 executed, 1 up-to-date |
| 182 |
| Passed |
Clean Gradle directory to avoid nasty errors like:
| 1 | Found 8.7 via distributionUrl |
|---|---|
| 2 | Running /home/phabricator-android-builder/versions/8.7/bin/gradle clean |
| 3 | Starting a Gradle Daemon (subsequent builds will be faster) |
| 4 | |
| 5 | > Configure project :app |
| 6 | WARNING: The option setting 'android.defaults.buildfeatures.buildconfig=true' is deprecated. |
| 7 | The current default is 'false'. |
| 8 | It will be removed in version 9.0 of the Android Gradle plugin. |
| 9 | You can resolve this warning in Android Studio via `Refactor` > `Migrate BuildConfig to Gradle Build Files` |
| 10 | |
| 11 | > Task :app:clean |
| 12 | |
| 13 | BUILD SUCCESSFUL in 22s |
| 14 | 1 actionable task: 1 executed |
| 15 |
| Passed |
| Passed |