Allow users to define and publish their own BOM in Mill #3526
Annotations
2 errors and 1 warning
Run ./mill -i -j1 -k selective.run 'example.android.__.local.test'
Process completed with exit code 1.
|
Publish Test Report:
out/testkit/compile.dest/classes/mill/testkit/UtestExampleTestSuite.class#L19
else assert(evalResult.isSuccess)
evalResult: mill.testkit.IntegrationTester.EvalResult = EvalResult(false,[build.mill] [info] compiling 1 Scala source to /home/runner/work/mill/mill/out/example/android/javalib/2-app-bundle/local/test.dest/sandbox/run-2/out/mill-build/compile.dest/classes ...
[build.mill] [info] done compiling
Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 10,000 days
for: CN=MILL, OU=MILL, O=MILL, L=MILL, ST=MILL, C=MILL
Compiling resources of main with the following command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 compile --dir /home/runner/work/mill/mill/out/example/android/javalib/2-app-bundle/local/test.dest/sandbox/run-2/bundle/src/main/res -o /home/runner/work/mill/mill/out/example/android/javalib/2-app-bundle/local/test.dest/sandbox/run-2/out/bundle/androidResources.dest/compiled-resources/main.zip --no-crunch
Linking application resources with the command: /usr/local/lib/android/sdk/build-tools/35.0.0/aapt2 link -I /usr/local/lib/android/sdk/platforms/android-35/android.jar --manifest /home/runner/work/mill/mill/out/example/android/javalib/2-app-bundle/local/test.dest/sandbox/run-2/out/bundle/androidMergedManifest.dest/AndroidManifest.xml --java /home/runner/work/mill/mill/out/example/android/javalib/2-app-bundle/local/test.dest/sandbox/run-2/out/bundle/androidResources.dest/RClass --min-sdk-version 1 --target-sdk-version 35 --version-code 1 --version-name 1.0 --proguard-main-dex /home/runner/work/mill/mill/out/example/android/javalib/2-app-bundle/local/test.dest/sandbox/run-2/out/bundle/androidResources.dest/main-dex-rules.pro --proguard-conditional-keep-rules -o /home/runner/work/mill/mill/out/example/android/javalib/2-app-bundle/local/test.dest/sandbox/run-2/out/bundle/androidResources.dest/res.apk --debug-mode --auto-add-overlay --proto-format /home/runner/work/mill/mill/out/example/android/javalib/2-app-bundle/local/test.dest/sandbox/run-2/out/bundle/androidResources.dest/compiled-resources/main.zip
[info] compiling 2 Java sources to /home/runner/work/mill/mill/out/example/android/javalib/2-app-bundle/local/test.dest/sandbox/run-2/out/bundle/compile.dest/classes ...
[info] /home/runner/work/mill/mill/out/example/android/javalib/2-app-bundle/local/test.dest/sandbox/run-2/bundle/src/main/java/com/helloworld/app/MainActivity.java: MainActivity.java uses or overrides a deprecated API.
[info] /home/runner/work/mill/mill/out/example/android/javalib/2-app-bundle/local/test.dest/sandbox/run-2/bundle/src/main/java/com/helloworld/app/MainActivity.java: Recompile with -Xlint:deprecation for details.
[info] done compiling
Running d8 with the command: /usr/local/lib/android/sdk/build-tools/35.0.0/d8 --debug --output /home/runner/work/mill/mill/out/example/android/javalib/2-app-bundle/local/test.dest/sandbox/run-2/out/bundle/androidDex.dest --lib /usr/local/lib/android/sdk/platforms/android-35/android.jar --min-api 1 --main-dex-rules /home/runner/work/mill/mill/out/example/android/javalib/2-app-bundle/local/test.dest/sandbox/run-2/out/bundle/androidDex.dest/proguard-rules.pro /home/runner/work/mill/mill/out/example/android/javalib/2-app-bundle/local/test.dest/sandbox/run-2/out/bundle/compile.dest/classes/com/helloworld/app/R$string.class /home/runner/work/mill/mill/out/example/android/javalib/2-app-bundle/local/test.dest/sandbox/run-2/out/bundle/compile.dest/classes/com/helloworld/app/R.class /home/runner/work/mill/mill/out/example/android/javalib/2-app-bundle/local/test.dest/sandbox/run-2/out/bundle/compile.dest/classes/com/helloworld/app/MainActivity.class /home/runner/work/mill/mill/out/example/android/javalib/2-app-bundle/local/test.dest/sandbox/run-2/out/bundle/compile.dest/classes/com/helloworld/app/R$color.class
[BT:1.17.2] Error: Module 'bundle' is missing mandatory file 'manifest/AndroidManifest.xml'.
com.android.tools.build.bundletool.model.exceptions.InvalidBundleException: Module 'bundle' is missing mandatory file 'manifest/AndroidManifest.xml'.
at com.android.tools.build.bundletool.model.exceptions.UserExceptionBuilder.build(Use
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading