apply plugin: 'com.github.johnrengelman.shadow' tasks.withType(JavaCompile) { options.warnings = false } jar { manifest { attributes 'Main-Class': 'okhttp3.sample.SampleServer' } } dependencies { implementation project(':mockwebserver') } shadowJar { mergeServiceFiles() }