apply plugin: 'application' mainClassName = "jadx.gui.JadxGUI" dependencies { compile(project(":jadx-core")) compile(project(":jadx-cli")) compile 'com.fifesoft:rsyntaxtextarea:2.0.7' compile 'ch.qos.logback:logback-classic:1.0.13' } startScripts { doLast { // increase default max heap size String var = 'DEFAULT_JVM_OPTS=' String args = '-Xmx1300M' unixScript.text = unixScript.text.replace(var + '""', var + '"' + args + '"') windowsScript.text = windowsScript.text.replace(var, var + args) } } applicationDistribution.with { into('') { from '../' include 'README.md' include 'NOTICE' } }