mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-16 13:58:28 +00:00
37 lines
941 B
Groovy
37 lines
941 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
|
|
|
defaultConfig {
|
|
minSdkVersion 17
|
|
targetSdkVersion rootProject.ext.compileSdkVersion
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
api project(':net')
|
|
api project(':utils')
|
|
api 'org.kamranzafar:jtar:2.3'
|
|
|
|
def libsuVersion = '2.2.0'
|
|
api "com.github.topjohnwu.libsu:core:${libsuVersion}"
|
|
api "com.github.topjohnwu.libsu:io:${libsuVersion}"
|
|
}
|