plugins { id 'java-library' } sourceSets { main { java { srcDirs = [ "${rootDir}/../third_party/junit/" ] include '**/*.java' } } }