if (!hasProperty('mainClass')) { ext.mainClass = '' } repositories { maven{ url 'http://nifty-gui.sourceforge.net/nifty-maven-repo' } } dependencies { compile project(':jme3-core') compile 'lessvoid:nifty:1.4.1' compile 'lessvoid:nifty-default-controls:1.4.1' compile 'lessvoid:nifty-style-black:1.4.1' } uploadArchives { repositories.mavenDeployer { pom.project { repositories { repository { id "nifty-maven-repo.sourceforge.net" url "http://nifty-gui.sourceforge.net/nifty-maven-repo" } } } } }