-
Notifications
You must be signed in to change notification settings - Fork 874
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
Removed a few defunct Gradle Settings #6516
Removed a few defunct Gradle Settings #6516
Conversation
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.
good cleanup. I quickly checked the layout and everything resized fine.
extide/gradle/apichanges.xml
Outdated
<version major="2" minor="36"/> | ||
<date day="2" month="10" year="2023"/> | ||
<author login="lkishalmi"/> | ||
<compatibility semantic="compatible" /> |
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.
IMHO semantic should be incompatible
: code that hopes the setter (setting) has some effect may break.
* @param b | ||
* @deprecated | ||
*/ | ||
@Deprecated |
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.
Consider to log a WARNING
-level message in the setters.
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.
Sounds good! Not tested as yet.
The other setting I have questions about on that page is actually the utility of standard Gradle version!
wanted to merge but seeing two unresolved reviewer comments, freeze is on the 17th. |
I've started to work on removing the Grade version selector and adding a default java runtime instead. I hope I can submit that work on this branch tomorrow. |
- consistent gaps between components and resize behavior - checked anchoring, editable state etc mostly in project properties and global gradle settings.
b4f1364
to
0d84dd2
Compare
Removed the following no-more useful Settings from Gradle:
In the early days (2.x,3.x) it could have saved a few seconds, by loading the Daemon early, however in those days the Wrapper was not commonly used. Usually every project were used with one Gradle version set in the IDE. Project loading was also done by that daemon. Today, there is no advantage to fire up a Gradle Daemon which most likely won't be used.
It started to download a new Gradle version when it was selected in the settings dialog right when the dialog settings were applied. It could save a few seconds in the old days. Today it is usually done by the wrapper, and the project trust replaced this functionality.
In the older days, this was a real performance boost working on projects. Right now the flag state is, I'd say undecided. It got removed in
Gradle 8.0
without deprecation, got restored inGradle 8.0.1
. There is no sigh of deprecation since then. We put it in deprecated on NB18 for the option removal in NB20. It still can be used if someone overwrite the Gradle actions, but it's better to leave this option out.