Skip to content

Conversation

@SimonMarquis
Copy link
Contributor

Don't change the start directory with -p :build-logic which makes Gradle look for build-logic/gradle.properties file that does not exist. Therefore, the heap size was configured with default values (-Xmx512m) which is definitely not enough for our linting.

Introduced in this PR, where lint was added in the :build-logic:convention project

Fixes #1769

Don't change the start directory with `-p :build-logic` which makes Gradle look for `build-logic/gradle.properties` file that does not exist.
Therefore, the heap size was configured with default values (`-Xmx512m`) which is definitely not enough for our linting.

Fixes android#1769
@dturner dturner merged commit edf91bd into android:main Dec 20, 2024
5 checks passed
@SimonMarquis SimonMarquis deleted the patch-2 branch December 20, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: java.lang.OutOfMemoryError: Java heap space on Check build-logic task

2 participants