37 lines
677 B
Groovy
37 lines
677 B
Groovy
apply plugin: 'idea'
|
|
|
|
ext.jadxVersion = file('version').readLines().get(0)
|
|
|
|
subprojects {
|
|
apply plugin: 'java'
|
|
apply plugin: 'idea'
|
|
apply plugin: 'eclipse'
|
|
|
|
sourceCompatibility = 1.6
|
|
targetCompatibility = 1.6
|
|
|
|
jar {
|
|
version = jadxVersion
|
|
}
|
|
|
|
manifest {
|
|
mainAttributes("jadx-version" : jadxVersion)
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.google.android.tools:dx:1.7'
|
|
compile 'org.slf4j:slf4j-api:1.7.5'
|
|
compile 'ch.qos.logback:logback-classic:1.0.13'
|
|
testCompile 'junit:junit:4.11'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
task wrapper(type: Wrapper) {
|
|
gradleVersion = '1.6'
|
|
}
|
|
|