2020-03-04 18:05:03 +08:00
|
|
|
apply plugin: 'com.android.application'
|
2020-03-19 18:22:08 +08:00
|
|
|
apply plugin: 'org.greenrobot.greendao'
|
2020-03-31 11:22:24 +08:00
|
|
|
apply plugin: 'androidx.navigation.safeargs'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2020-03-04 18:05:03 +08:00
|
|
|
|
|
|
|
android {
|
2020-10-16 17:12:10 +08:00
|
|
|
compileSdkVersion 30
|
2020-03-04 18:05:03 +08:00
|
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.zane.smapiinstaller"
|
|
|
|
minSdkVersion 19
|
2020-10-16 17:12:10 +08:00
|
|
|
targetSdkVersion 30
|
2021-02-05 16:39:50 +08:00
|
|
|
versionCode 71
|
|
|
|
versionName "3.7.6.9"
|
2020-03-04 18:05:03 +08:00
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
multiDexEnabled true
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2020-03-10 18:12:21 +08:00
|
|
|
minifyEnabled true
|
2021-02-04 14:40:51 +08:00
|
|
|
shrinkResources false
|
2020-03-10 18:12:21 +08:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
2020-03-28 15:05:02 +08:00
|
|
|
debug {
|
2021-02-04 14:40:51 +08:00
|
|
|
minifyEnabled true
|
2020-05-23 17:53:58 +08:00
|
|
|
shrinkResources false
|
2020-03-28 15:05:02 +08:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
2020-03-04 18:05:03 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
2020-08-05 16:06:16 +08:00
|
|
|
// Flag to enable support for the new language APIs
|
|
|
|
coreLibraryDesugaringEnabled true
|
|
|
|
// Sets Java compatibility to Java 8
|
2020-03-04 18:05:03 +08:00
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2020-03-22 21:41:38 +08:00
|
|
|
|
|
|
|
bundle {
|
|
|
|
language {
|
|
|
|
// Specifies that the app bundle should not support
|
|
|
|
// configuration APKs for language resources. These
|
|
|
|
// resources are instead packaged with each base and
|
|
|
|
// dynamic feature APK.
|
|
|
|
enableSplit = false
|
|
|
|
}
|
|
|
|
}
|
2020-09-30 10:17:40 +08:00
|
|
|
|
2020-10-16 17:12:10 +08:00
|
|
|
buildFeatures {
|
|
|
|
viewBinding true
|
2020-09-30 10:17:40 +08:00
|
|
|
}
|
2020-03-04 18:05:03 +08:00
|
|
|
}
|
|
|
|
|
2020-03-19 18:22:08 +08:00
|
|
|
greendao {
|
|
|
|
schemaVersion 1 //版本号,升级时可配置
|
|
|
|
}
|
|
|
|
|
2020-03-04 18:05:03 +08:00
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
|
2020-09-30 10:17:40 +08:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
2020-03-04 18:05:03 +08:00
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
2020-09-30 10:17:40 +08:00
|
|
|
implementation 'com.google.android.material:material:1.2.1'
|
2021-01-28 15:55:18 +08:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
2020-10-21 21:15:02 +08:00
|
|
|
implementation "androidx.navigation:navigation-fragment:2.3.1"
|
|
|
|
implementation "androidx.navigation:navigation-ui:2.3.1"
|
2020-03-04 18:05:03 +08:00
|
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
2020-10-27 17:34:57 +08:00
|
|
|
implementation 'androidx.webkit:webkit:1.3.0'
|
2021-02-05 16:39:50 +08:00
|
|
|
implementation "androidx.documentfile:documentfile:1.0.1"
|
2020-04-15 13:36:23 +08:00
|
|
|
// https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on
|
2020-08-05 16:06:16 +08:00
|
|
|
implementation group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.65.01'
|
2020-03-31 11:22:24 +08:00
|
|
|
implementation 'com.afollestad.material-dialogs:core:3.3.0'
|
|
|
|
implementation 'com.afollestad.material-dialogs:input:3.3.0'
|
|
|
|
implementation 'com.afollestad.material-dialogs:lifecycle:3.3.0'
|
|
|
|
implementation 'com.lmntrx.android.library.livin.missme:missme:0.1.5'
|
2020-03-06 01:32:25 +08:00
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
2020-03-04 18:05:03 +08:00
|
|
|
// https://mvnrepository.com/artifact/com.google.guava/guava
|
2021-02-01 15:57:50 +08:00
|
|
|
implementation group: 'com.google.guava', name: 'guava', version: '30.1-android'
|
2020-03-04 18:05:03 +08:00
|
|
|
// https://mvnrepository.com/artifact/org.zeroturnaround/zt-zip
|
|
|
|
implementation group: 'org.zeroturnaround', name: 'zt-zip', version: '1.14'
|
2020-03-06 01:32:25 +08:00
|
|
|
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
|
2021-01-28 15:55:18 +08:00
|
|
|
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.11'
|
2020-03-10 18:12:21 +08:00
|
|
|
// https://mvnrepository.com/artifact/commons-io/commons-io
|
2021-02-01 15:57:50 +08:00
|
|
|
implementation group: 'commons-io', name: 'commons-io', version: '2.8.0'
|
2020-03-06 01:32:25 +08:00
|
|
|
implementation 'com.lzy.net:okgo:3.0.4'
|
2020-03-10 18:12:21 +08:00
|
|
|
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core
|
2021-02-01 15:57:50 +08:00
|
|
|
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.12.1'
|
|
|
|
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.12.1'
|
|
|
|
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.12.1'
|
2021-01-28 17:13:35 +08:00
|
|
|
// https://mvnrepository.com/artifact/org.lz4/lz4-pure-java
|
|
|
|
implementation group: 'org.lz4', name: 'lz4-pure-java', version: '1.7.0'
|
2020-03-04 18:05:03 +08:00
|
|
|
|
2020-03-11 03:15:13 +08:00
|
|
|
implementation 'com.github.didikee:AndroidDonate:0.1.0'
|
2021-02-01 15:57:50 +08:00
|
|
|
implementation 'com.hjq:language:6.0'
|
2020-03-11 03:15:13 +08:00
|
|
|
|
2020-08-05 16:06:16 +08:00
|
|
|
api 'org.greenrobot:greendao:3.3.0'
|
|
|
|
api 'org.greenrobot:greendao-generator:3.3.0'
|
|
|
|
|
2021-02-01 15:57:50 +08:00
|
|
|
testImplementation 'junit:junit:4.13.1'
|
2020-09-30 10:17:40 +08:00
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
2020-03-04 18:05:03 +08:00
|
|
|
implementation 'com.android.support:multidex:1.0.3'
|
2020-03-06 01:32:25 +08:00
|
|
|
|
2020-03-06 23:26:15 +08:00
|
|
|
def appCenterSdkVersion = '3.0.0'
|
|
|
|
implementation "com.microsoft.appcenter:appcenter-analytics:${appCenterSdkVersion}"
|
|
|
|
implementation "com.microsoft.appcenter:appcenter-crashes:${appCenterSdkVersion}"
|
|
|
|
|
2021-01-28 15:55:18 +08:00
|
|
|
compileOnly 'org.projectlombok:lombok:1.18.16'
|
|
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.16'
|
|
|
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.0'
|
2020-03-04 18:05:03 +08:00
|
|
|
}
|