Try to workaround OOM errors and the runners dying (#3013)

* Try to workaround OOM errors and the runner dying

* Some more tweaks:

- Add `-XX:MaxMetaspaceSize` (https://github.com/gradle/gradle/issues/19750)
- Remove `-PpreDexEnable` as it's deprecated and no longer used.
- Remove `--max-workers` as gradle will automatically use the optimal amount.

* Remove `--max-workers` in recording screenshots too
This commit is contained in:
Jorge Martin Espinosa
2024-06-12 15:35:51 +02:00
committed by GitHub
parent 54845866a6
commit f3fa7e57a5
11 changed files with 34 additions and 21 deletions

View File

@@ -46,7 +46,7 @@ fun CommonExtension<*, *, *, *, *, *>.androidConfig(project: Project) {
lint {
lintConfig = File("${project.rootDir}/tools/lint/lint.xml")
checkDependencies = true
checkDependencies = false
abortOnError = true
ignoreTestFixturesSources = true
checkGeneratedSources = false