JFX-Browser icon indicating copy to clipboard operation
JFX-Browser copied to clipboard

Passing from Maven to Gradle ( Discussing , Ideas and Solutions )

Open goxr3plus opened this issue 6 years ago • 3 comments

Generally

@badarshahzad @naeemkhan12 Hello my friends , you added Gradle but you must follow the Gradle Project Layout , it is similar like Maven :

Please read Java Gradle Project Layout

Warning

The problem now is with the build of the project . With Maven you run mvn clean package and it builds the jar along with it's dependencies . I currently don't know how to do it on Gradle , but i will find it soon .

What we need to do with Gradle

We need to add Goals inside the build.gradle in order to match with the pom.xml . Check it i have added plugins there .

Finally

We have to decide , we continue with Maven or Gradle ? We don't need both .

goxr3plus avatar Nov 29 '17 18:11 goxr3plus

@badarshahzad

Here is a fast solution .

The only think you need to do for passing on gradle :

  1. Is keeping exactly the same packages as i have done for Maven
  2. Remove pom.xml
  3. Add build.gradle
  4. That's it :)

goxr3plus avatar Nov 29 '17 18:11 goxr3plus

My suggestion: Gradle fans follow > maven :smile:

naeemrashid avatar Nov 29 '17 18:11 naeemrashid

@naeemkhan12 Let's do it then :) Please read Java Gradle Project Layout

goxr3plus avatar Nov 29 '17 18:11 goxr3plus