subprojects { apply plugin: 'java' repositories { mavenCentral() } } apply plugin: 'java' apply plugin: 'application' mainClassName = "com.juick.jabber.ws.Main" repositories { mavenCentral() } def core = project(':deps:com.juick') def server = project(':deps:com.juick.server') def xmpp = project(':deps:com.juick.xmpp') def json = project(':deps:com.juick.json') project(':deps:com.juick.server') { dependencies { compile core } } project(':deps:com.juick.xmpp') { dependencies { compile core } } project(':deps:com.juick.json') { dependencies { compile core } } dependencies { compile core compile server compile xmpp compile json compile "org.springframework:spring-jdbc:4.3.0.RELEASE" testCompile 'junit:junit:4.12' runtime 'mysql:mysql-connector-java:5.1.37' } compileJava.options.encoding = 'UTF-8'