subprojects { apply plugin: 'java' repositories { jcenter() } dependencies { testCompile 'junit:junit:4.+' testCompile 'org.hamcrest:hamcrest-library:1.3' } jar { manifest { attributes 'Implementation-Version': '0.9.31-7' } } sourceCompatibility = 1.7 // Set bootClasspath=/path/to/rt.jar:/path/to/jce.jar in gradle.properties if needed if (bootClasspath) { tasks.withType(AbstractCompile, { AbstractCompile ac -> ac.options.bootstrapClasspath = files(bootClasspath) }) } } //apply from: file('gradle/update.gradle')