plugins {
	id 'application'
}

dependencies {
	implementation(project(':jadx-core'))

	runtimeOnly(project(':jadx-plugins:jadx-dex-input'))
	runtimeOnly(project(':jadx-plugins:jadx-smali-input'))
	runtimeOnly(project(':jadx-plugins:jadx-java-convert'))

	implementation 'com.beust:jcommander:1.81'
	implementation 'ch.qos.logback:logback-classic:1.2.3'
}

application {
	applicationName = 'jadx'
	mainClass.set('jadx.cli.JadxCLI')
	applicationDefaultJvmArgs = ['-Xms128M', '-Xmx4g', '-XX:+UseG1GC']
}

applicationDistribution.with {
	into('') {
		from '../.'
		include 'README.md'
		include 'NOTICE'
		include 'LICENSE'
	}
}
