-
Notifications
You must be signed in to change notification settings - Fork 46
some options moved from gradle.properties to GRADLE_OPTS #1470 #1472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
gradle.properties
Outdated
org.gradle.jvmargs="-XX:MaxHeapSize=6144m" | ||
kotlin.compiler.execution.strategy=in-process | ||
org.gradle.caching=false | ||
|
||
# configuration for local compilation - much faster | ||
#org.gradle.daemon=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we enable the properties and overload them as Gradle environment options?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GRADLE_OPTS
environment variable has lower priority than gradle.properties file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should use GRADLE_OPTS here if they present?
…egor-vasiliev/1470-move-gradle-properties
…egor-vasiliev/1470-move-gradle-properties
…egor-vasiliev/1470-move-gradle-properties
…egor-vasiliev/1470-move-gradle-properties
gradle.properties
Outdated
# overrided by some parameters in CI, read below about each option |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Overriden", not "overrided"
…egor-vasiliev/1470-move-gradle-properties
…egor-vasiliev/1470-move-gradle-properties
…egor-vasiliev/1470-move-gradle-properties
…egor-vasiliev/1470-move-gradle-properties
…egor-vasiliev/1470-move-gradle-properties
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
org.gradle.daemon=false
- moved toGRADLE_OPTS
but this option is not needed because we explicitly run gradle with--no-daemon
option. Should I remove--no-daemon
or leave it as is?org.gradle.parallel=false
- moved toGRADLE_OPTS
kotlin.compiler.execution.strategy=in-process
- moved toGRADLE_OPTS
org.gradle.caching=false
- removed completely because we don't have caches on runners by default. To obtain cache we should useactions/cache@v3
and in those cases we explicitly run gradle with--build-cache
optionFixes #1470
Type of Change
How Has This Been Tested?
Regression and integration tests
No tests needed
Automated Testing
Run workflow from a branch
Manual Scenario
Not applicable
Checklist (remove irrelevant options):