apply plugin: 'java' repositories { mavenCentral() } dependencies { compile 'net.portswigger.burp.extender:burp-extender-api:1.7.13' compile 'net.sourceforge.jregex:jregex:1.2_01' compile 'org.json:json:20200518' compile 'dk.brics.automaton:automaton:1.11-8' } sourceSets { main { java { srcDir '.' } } } targetCompatibility = '1.8' sourceCompatibility = '1.8' compileJava { options.encoding = "UTF-8" } task fatJar(type: Jar) { baseName = project.name + '-all' from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } with jar }