badarshahzad / JFX-Browser

JFx Browser is a multi tab browser. In its first version HTML to PDF, Downloading , History, Bookmarks and Account creation facility available. We are not still working on this project.
MIT License
200 stars 48 forks source link

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

Open goxr3plus opened 6 years ago

goxr3plus commented 6 years ago

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 commented 6 years ago

@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 :)

naeemrashid commented 6 years ago

My suggestion: Gradle fans follow > maven :smile:

goxr3plus commented 6 years ago

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