Open goxr3plus opened 6 years ago
@badarshahzad
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 :)
My suggestion: Gradle fans follow > maven :smile:
@naeemkhan12 Let's do it then :) Please read Java Gradle Project Layout
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 thepom.xml
. Check it i have added plugins there .Finally
We have to decide , we continue with Maven or Gradle ? We don't need both .