apply plugin: 'java' sourceSets { main { java.srcDirs = ['src'] } } dependencies { } sourceCompatibility = "1.6" targetCompatibility = "1.6"