2019-12-04 14:11:47 +08:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
2021-11-24 17:39:29 +08:00
|
|
|
compileSdkVersion 31
|
|
|
|
buildToolsVersion '30.0.3'
|
2019-12-04 14:11:47 +08:00
|
|
|
|
|
|
|
defaultConfig {
|
2021-11-08 13:53:46 +08:00
|
|
|
minSdkVersion 16
|
2021-11-24 17:39:29 +08:00
|
|
|
targetSdkVersion 31
|
2019-12-04 14:11:47 +08:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
consumerProguardFiles 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2019-12-23 15:29:38 +08:00
|
|
|
sourceSets {
|
|
|
|
main {
|
2021-03-01 18:33:48 +08:00
|
|
|
assets.srcDirs = ["../../doric-js/bundle"]
|
2019-12-23 15:29:38 +08:00
|
|
|
}
|
|
|
|
}
|
2019-12-04 14:11:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
|
2021-10-27 17:36:08 +08:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
2021-11-18 16:38:35 +08:00
|
|
|
api 'com.github.penfeizhou:jsc4a:0.3.0'
|
2021-11-05 22:29:21 +08:00
|
|
|
//api "pub.doric:jse:${rootProject.ext.Version}"
|
2020-02-28 14:39:17 +08:00
|
|
|
implementation 'com.squareup.okhttp3:okhttp:3.12.1'
|
2021-11-25 13:43:30 +08:00
|
|
|
implementation('com.github.penfeizhou.android.animation:glide-plugin:2.17.0') {
|
2020-04-09 17:07:24 +08:00
|
|
|
exclude group: 'com.github.bumptech.glide'
|
2020-04-03 19:18:51 +08:00
|
|
|
}
|
2020-09-02 18:07:48 +08:00
|
|
|
implementation 'com.github.bumptech.glide:glide:4.11.0'
|
2021-10-27 17:36:08 +08:00
|
|
|
implementation "com.google.android.material:material:1.2.1"
|
2019-12-09 18:01:40 +08:00
|
|
|
|
2020-08-03 12:02:36 +08:00
|
|
|
def nav_version = "2.3.0"
|
2019-12-09 18:01:40 +08:00
|
|
|
|
|
|
|
implementation "androidx.navigation:navigation-fragment:$nav_version"
|
|
|
|
implementation "androidx.navigation:navigation-ui:$nav_version"
|
2020-02-28 14:35:26 +08:00
|
|
|
|
2021-10-27 17:36:08 +08:00
|
|
|
implementation "com.qmuiteam:qmui:1.4.5"
|
2020-04-03 19:18:51 +08:00
|
|
|
|
2020-06-03 11:51:21 +08:00
|
|
|
testImplementation 'junit:junit:4.13'
|
2020-04-03 19:18:51 +08:00
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
2020-04-09 17:07:24 +08:00
|
|
|
|
2020-04-09 14:49:52 +08:00
|
|
|
implementation 'com.facebook.yoga.android:yoga-layout:1.16.0'
|
2020-06-03 11:51:21 +08:00
|
|
|
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
|
2020-08-03 12:02:36 +08:00
|
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
2021-07-16 18:08:49 +08:00
|
|
|
implementation 'com.facebook.soloader:soloader:0.9.0'
|
|
|
|
implementation 'com.facebook.fbjni:fbjni:0.2.2'
|
2019-12-04 14:11:47 +08:00
|
|
|
}
|
2019-12-09 18:25:45 +08:00
|
|
|
|
2020-04-27 15:56:43 +08:00
|
|
|
if (new File('scripts/upload.gradle').exists()) {
|
|
|
|
apply from: rootProject.file('scripts/upload.gradle')
|
|
|
|
}
|