Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
goxr3plus opened this issue Nov 29, 2017 · 3 comments
Open

Comments

@goxr3plus
Copy link
Collaborator

goxr3plus commented Nov 29, 2017

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
Copy link
Collaborator Author

@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
Copy link
Contributor

My suggestion: Gradle fans follow > maven 😄

@goxr3plus
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants