Cleanup build.gradle

This commit is contained in:
topjohnwu 2018-03-26 03:52:12 +08:00
parent 0c782edf21
commit 52d478df1a

View File

@ -1,12 +1,13 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
android { android {
compileSdkVersion 27 compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
defaultConfig { defaultConfig {
applicationId "com.topjohnwu.magisk" applicationId "com.topjohnwu.magisk"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 27 targetSdkVersion rootProject.ext.compileSdkVersion
versionCode 110 versionCode 110
versionName "5.6.3" versionName "5.6.3"
javaCompileOptions { javaCompileOptions {
@ -36,20 +37,14 @@ android {
} }
} }
repositories {
jcenter()
google()
maven { url "https://jitpack.io" }
}
dependencies { dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs') implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(':utils') implementation project(':utils')
implementation 'com.github.topjohnwu:libsu:1.1.1' implementation 'com.github.topjohnwu:libsu:1.1.1'
implementation 'com.android.support:recyclerview-v7:27.1.0' implementation "com.android.support:recyclerview-v7:${rootProject.ext.supportLibVersion}"
implementation 'com.android.support:cardview-v7:27.1.0' implementation "com.android.support:cardview-v7:${rootProject.ext.supportLibVersion}"
implementation 'com.android.support:design:27.1.0' implementation "com.android.support:design:${rootProject.ext.supportLibVersion}"
implementation 'com.android.support:support-v4:27.1.0' implementation "com.android.support:support-v4:${rootProject.ext.supportLibVersion}"
implementation 'com.jakewharton:butterknife:8.8.1' implementation 'com.jakewharton:butterknife:8.8.1'
implementation 'com.atlassian.commonmark:commonmark:0.10.0' implementation 'com.atlassian.commonmark:commonmark:0.10.0'
implementation 'org.kamranzafar:jtar:2.3' implementation 'org.kamranzafar:jtar:2.3'