I’ve now updated the Nifty Dependencies in SVN (for the Nifty 1.0 Release) to the following Versions:
- Slick #239
- Lwjgl 2.0.1
Besides that I realized that I’ve already had setup a Nifty Maven Repository at Sourceforge. This was meant to store Nifty releases to allow other Projects that use Maven and Nifty to easily access the Nifty libs. So for instance you just need to add:
<repositories> <repository> <id>nifty-maven-repo.sourceforge.net</id> <url>http://nifty-gui.sourceforge.net/nifty-maven-repo</url> </repository> </repositories>
to your applications pom.xml and it will automatically find the Nifty dependency So far so good.
Today I realized that I could use the same approach to get Lwjgl and Slick2D easily under Maven control. So when switching the Versions to Slick #239 und Lwjgl 2.0.1 I deployed both libs to the Nifty Maven Repo at Sourceforge!
So what does this mean for you?
It means just one thing. It’s now easier then ever to build Nifty! Just “svn co” it from Sourceforge and execute “mvn package” and it should automatically download all required libs without any changes!