GdxDemo3D
GdxDemo3D copied to clipboard
Maven-friendly environment
Hey folks! Great work. I want to contribute to your project, however I stuck with the import:
Server returned HTTP response code: 403 for URL: http://services.gradle.org/distributions/gradle-2.4-all.zip
I also see pretty many win-related logic in the build scripts. What do you folks think about a thin maven infra around the game? It will make possible to run the apps, tools etc. by casting an ancient magic as follows:
mvn exec:java -Dexec.mainClass="com.mygdx.game.desktop.DesktopLauncher"
Pros: TBD Cons: N+1 pom files overhead
I don't think the solution to your problem is a maven wrapper. It just uses a ancient gradle version, since the project didn't got updated for 8 years. https://github.com/jsjolund/GdxDemo3D/blob/868b384375390a4e6c4559693adff2015989df2c/gradle/wrapper/gradle-wrapper.properties#L6 Bumping this version to something like 6.8.1 should for the moment be sufficient. Gradle is still the recommended way to work with libGDX projects. Especially, since this project has a android module, and they do only work with gradle. Having two build systems would be imo not good. I updated it a few years ago and use it as a test project, if you need inspiration. Though I didn't bothered about a clean git history at all. https://github.com/Berstanio/GdxDemo3D