mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-04-30 14:24:25 +02:00
39 lines
731 B
Groovy
Executable File
39 lines
731 B
Groovy
Executable File
|
|
apply plugin: 'java-library'
|
|
|
|
group 'com.reandroid.lib.arsc'
|
|
version '1.0.2'
|
|
|
|
java {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
if (JavaVersion.current().isJava8Compatible()) {
|
|
allprojects {
|
|
tasks.compileJava {
|
|
//options.addStringOption('-Xlint:unchecked', '-quiet')
|
|
}
|
|
}
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
mavenLocal()
|
|
}
|
|
|
|
dependencies {
|
|
compile(files("$rootProject.projectDir/libs/ArchiveUtil.jar"))
|
|
}
|
|
|
|
processResources {
|
|
filesMatching('lib.properties') {
|
|
expand('version': version)
|
|
}
|
|
}
|
|
|
|
task fatJar(type: Jar) {
|
|
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
with jar
|
|
}
|
|
|