Skip to content

[NETBEANS-1970] Gradle projects are not loading on java 11#1106

Merged
lkishalmi merged 2 commits intoapache:masterfrom
lkishalmi:NETBEANS-1970_Gradle_Projects_are_not_loading_on_Java_11
Jan 29, 2019
Merged

[NETBEANS-1970] Gradle projects are not loading on java 11#1106
lkishalmi merged 2 commits intoapache:masterfrom
lkishalmi:NETBEANS-1970_Gradle_Projects_are_not_loading_on_Java_11

Conversation

@lkishalmi
Copy link
Contributor

Well this set of patches makes Gradle project evaluation work on Java 11 even when the Gradle wrapper is below this version, by silently ignore the wrapper specified distribution for loading the project.

Also it contains the refactor of the GradleDistributionManager making it a real class instead of a bunch of utility functions. Now it takes the gradle user home to create one. Though, right now the plugin does not support switching between gradle user home directories, this refactor is one step further to that support.

Removed the automatic install of Gradle from the startup.

Filed leaking private internals through GradleSettings as getVersion() returned a module private NbGradleVersion type.

@lkishalmi lkishalmi requested a review from geertjanw January 27, 2019 21:22
@lkishalmi lkishalmi changed the title Netbeans 1970 gradle projects are not loading on java 11 [NETBEANS-1970] Gradle projects are not loading on java 11 Jan 27, 2019
Copy link
Member

@geertjanw geertjanw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@lkishalmi lkishalmi merged commit 96da42c into apache:master Jan 29, 2019
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.

2 participants