sourceCompatibility = 1.8 targetCompatibility = 1.8 repositories { mavenCentral() } // Export test code for sub projects task testJar(type: Jar) { classifier = "tests" from sourceSets.test.output exclude "**/*Test.class" } artifacts { testRuntime testJar } dependencies { compile project(':plugins:perforce:generated:java-sdk') compile 'com.sparkjava:spark-core:2.5' compile 'org.slf4j:slf4j-api:1.7.12' compile 'org.slf4j:slf4j-log4j12:1.7.12' compile 'ro.fortsoft.pf4j:pf4j:0.13.1' compile 'com.perforce:p4java:2015.2.1312871' // compile 'com.google.code.gson:gson:2.7' compile 'io.jsonwebtoken:jjwt:0.6.0' compile 'org.apache.commons:commons-lang3:3.4' compile 'com.esotericsoftware.yamlbeans:yamlbeans:1.09' //compile 'org.apache.logging.log4j:log4j-core:2.5' //compile 'org.apache.logging.log4j:log4j-slf4j-impl:2.5' compile 'com.google.http-client:google-http-client:1.21.0' compile 'com.google.http-client:google-http-client-gson:1.21.0' compile 'com.google.http-client:google-http-client-jackson2:1.21.0' testCompile project(':hws') testCompile 'junit:junit:4.12' testCompile 'org.apache.commons:commons-compress:1.10' testCompile 'org.apache.commons:commons-exec:1.3' testCompile 'commons-fileupload:commons-fileupload:1.3.1' } // Java SDK depend on generated code compileJava.dependsOn(':hws:swagger:build') compileJava.dependsOn(':plugins:perforce:swagger:build')