GeckoView fails to build in Nightly
Since last thursday (february 20), geckoview fails to build in nightlies.
The error looks like this:
> Configure project :app
WARNING: The option setting 'android.enableNewResourceShrinker.preciseShrinking=false' is deprecated.
The current default is 'true'.
It will be removed in version 9.0 of the Android Gradle plugin.
Requires glean_parser 14.0
Building in offline mode, therefore, Glean is using a supplied Python at python3
The Python binary can be overridden with the GLEAN_PYTHON env var.
Installing glean_parser from cached Python packages in /var/tmp/tmp.PTg91rgfTc/glean-wheels
This can be overridden with the GLEAN_PYTHON_WHEELS_DIR env var.
FAILURE: Build failed with an exception.
* Where:
Build file '/var/tmp/build/geckoview-4b5dd7c9c858/mobile/android/fenix/app/build.gradle' line: 318
* What went wrong:
A problem occurred configuring project ':app'.
> groovy.lang.MissingPropertyException: Could not get unknown property 'topsrcdir' for object of type com.android.build.gradle.internal.api.ApplicationVariantImpl.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 36s
20 actionable tasks: 4 executed, 16 up-to-date