Skip to content
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

Support for Gradle project #74

Open
ghost opened this issue Feb 17, 2017 · 4 comments
Open

Support for Gradle project #74

ghost opened this issue Feb 17, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented Feb 17, 2017

Hello,

I use Gradle. I don't mind having a POM in the same directory so the plugin can detect and display the SpringBoot options in the New... menus. The problem is when a POM is detected by other NB plugins, it turns to project into a Maven project instead of a Gradle project.

I forked the plugin sources and tried to rename the pom but no can do.

How could I fix this?

Thanks,

Jacques

@AlexFalappa
Copy link
Owner

@ledj0304 the problem of NetBeans recognizing a directory as the wrong project type is a known limitation, see Bug 256094 and Bug 269297.

Unfortunaltely I am not a Gradle user and I don't know the internals of NetBeans Gradle support. The NB Spring Boot was deliberately made with Maven project support in mind.

If someone with more Gradle and Gradle on NetBeans expertise will contribute I would be more than happy to include it.

@ghost
Copy link
Author

ghost commented Feb 20, 2017 via email

@TheCoder4eu
Copy link

@AlexFalappa @ledj0304
Hi, I just want to add some useful information that might help you not loose time:

  • I had troubles in NetBeans having both a pom.xml and a build.gradle file, no matter what you do, Netbeans has hardcoded that pom.xml prevails and your project will always end being a Maven project
  • this depends on the fact in NetBeans(NB for short) you do not have a concept of Project nature like in Eclipse
  • if your project started as Maven, it is difficult to convince NB it is something else (I think I had to hack NB configuration files to revert to gradle)

Anyway your plugin is very nice and it would be great to have Gradle support.

@AlexFalappa AlexFalappa modified the milestone: Future May 12, 2017
@AlexFalappa
Copy link
Owner

The recently released NetBeans 11 added support for the Gradle build system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants