Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gradle - Eclipse Project Nature

Tags:

gradle

How would I add something to the project nature of the Eclipse project generated by Gradle.

I want to add the following:

<nature>com.google.gwt.eclipse.core.gwtNature</nature>
<nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature>
like image 902
Hakkar Avatar asked Sep 16 '25 12:09

Hakkar


1 Answers

Figured this one out.

Add the following your build file:

eclipse {
  project {
    natures 'com.google.gwt.eclipse.core.gwtNature'
  }
}

Gradle Eclipse Project Docs

like image 198
Hakkar Avatar answered Sep 18 '25 10:09

Hakkar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!