Files
jadx/jadx-cli/build.gradle
T
2013-07-24 17:40:49 +04:00

31 lines
651 B
Groovy

apply plugin: 'application'
mainClassName = "jadx.cli.JadxCLI"
dependencies {
compile(project(":jadx-core"))
compile 'com.beust:jcommander:1.30'
}
build.dependsOn distZip
build.dependsOn installApp
startScripts {
doLast {
// increase default max heap size
String var = 'DEFAULT_JVM_OPTS='
String args = '-Xmx1400M'
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'
}
}