123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- 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')
- }
|