JFX-Browser
JFX-Browser copied to clipboard
Passing from Maven to Gradle ( Discussing , Ideas and Solutions )
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 .
@badarshahzad
Here is a fast solution .
The only think you need to do for passing on gradle :
- Is keeping exactly the same packages as i have done for Maven
- Remove
pom.xml
- Add
build.gradle
- That's it :)
My suggestion: Gradle fans follow > maven :smile:
@naeemkhan12 Let's do it then :) Please read Java Gradle Project Layout