You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
116 lines
3.8 KiB
116 lines
3.8 KiB
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
|
|
defaultConfig {
|
|
applicationId 'com.github.tvbox.osc'
|
|
minSdkVersion 16
|
|
targetSdkVersion 26
|
|
versionCode 1
|
|
versionName '1.0.0'
|
|
multiDexEnabled true
|
|
//设置room的Schema的位置
|
|
javaCompileOptions {
|
|
annotationProcessorOptions {
|
|
arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
|
|
}
|
|
}
|
|
}
|
|
|
|
packagingOptions {
|
|
exclude 'META-INF/DEPENDENCIES'
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
minifyEnabled false
|
|
|
|
ndk {
|
|
abiFilters 'armeabi-v7a'
|
|
}
|
|
}
|
|
release {
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
minifyEnabled true
|
|
|
|
ndk {
|
|
abiFilters 'armeabi-v7a'
|
|
}
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
lintOptions {
|
|
checkReleaseBuilds false
|
|
abortOnError false
|
|
}
|
|
dexOptions {
|
|
javaMaxHeapSize "4g"
|
|
additionalParameters += '--multi-dex'
|
|
additionalParameters += '--set-max-idx-number=48000'
|
|
additionalParameters += '--minimal-main-dex'
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
flatDir {
|
|
dirs 'libs'
|
|
}
|
|
}
|
|
dependencies {
|
|
api fileTree(dir: "libs", include: ["*.jar"])
|
|
|
|
|
|
implementation 'org.nanohttpd:nanohttpd:2.3.1'
|
|
implementation 'com.google.zxing:core:3.3.0'
|
|
implementation 'androidx.appcompat:appcompat:1.3.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
|
implementation files('libs/thunder.jar')
|
|
implementation files('libs/commons-lang3-3.12.0.jar')
|
|
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:3.12.11'
|
|
annotationProcessor 'androidx.room:room-compiler:2.3.0'
|
|
implementation 'androidx.room:room-runtime:2.3.0'
|
|
implementation 'androidx.multidex:multidex:2.0.1'
|
|
implementation 'com.squareup.okio:okio:2.8.0'
|
|
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.45-androidx'
|
|
implementation 'com.kingja.loadsir:loadsir:1.3.8'
|
|
implementation 'com.google.code.gson:gson:2.8.7'
|
|
implementation 'com.squareup.picasso:picasso:2.71828'
|
|
implementation 'me.jessyan:autosize:1.2.1'
|
|
implementation('com.thoughtworks.xstream:xstream:1.4.15') {
|
|
exclude group: 'xmlpull', module: 'xmlpull'
|
|
}
|
|
implementation 'org.greenrobot:eventbus:3.2.0'
|
|
implementation 'com.orhanobut:hawk:2.0.1'
|
|
|
|
implementation project(":player")
|
|
implementation project(":quickjs")
|
|
|
|
// implementation('org.xwalk:xwalk_shared_library:23.53.589.4') {
|
|
// exclude group: 'com.android.support'
|
|
// }
|
|
implementation 'com.lzy.net:okgo:3.0.4'
|
|
// implementation 'com.tencent.bugly:crashreport_upgrade:latest.release'
|
|
implementation 'com.owen:tv-recyclerview:3.0.0'
|
|
|
|
implementation 'com.github.getActivity:XXPermissions:13.6'
|
|
implementation 'org.jsoup:jsoup:1.14.1'
|
|
implementation 'com.github.hedzr:android-file-chooser:v1.2.0-final'
|
|
implementation 'commons-io:commons-io:2.11.0'
|
|
implementation 'com.googlecode.juniversalchardet:juniversalchardet:1.0.3'
|
|
implementation(name:'xwalk_shared_library-23.53.589.4',ext:'aar')
|
|
//支持http3
|
|
implementation ('com.google.net.cronet:cronet-okhttp:0.1.0')
|
|
// implementation 'com.google.android.gms:play-services-cronet:18.0.1'
|
|
implementation ('org.chromium.net:cronet-embedded:101.4951.41')
|
|
} |