123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- plugins {
- id 'com.android.application'
- id 'org.jetbrains.kotlin.android'
- }
- android {
- compileSdk = rootProject.ext.compileSdkVersion
- buildToolsVersion rootProject.ext.buildToolsVersion
- signingConfigs {
- release {
- if (project.hasProperty("Keystore.properties")) {
- String filePath = project.property("Keystore.properties")
- File propsFile = new File(filePath)
- if (propsFile.exists()) {
- Properties props = new Properties()
- props.load(propsFile.newDataInputStream())
- storeFile file(props['keystore'])
- storePassword props['keystore.password']
- keyAlias props['keyAlias']
- keyPassword props['keyAlias.password']
- }
- }
- }
- }
- defaultConfig {
- applicationId "com.kdanmobile.android.pdfreader.google.pad"
- minSdkVersion rootProject.ext.minSdkVersion
- targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode rootProject.ext.versionCode
- versionName rootProject.ext.versionName
- // flavorDimensions "lib"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- ndk {
- abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
- }
- }
- buildTypes {
- release {
- signingConfig signingConfigs.release
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- debug {
- // debuggable true
- // //混淆
- // minifyEnabled true
- // //Zipalign优化
- // zipAlignEnabled true
- signingConfig signingConfigs.release
- // proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = '1.8'
- }
- buildFeatures {
- viewBinding = true
- dataBinding = true
- }
- buildFeatures {
- compose true
- }
- composeOptions {
- kotlinCompilerExtensionVersion compose_version
- }
- }
- dependencies {
- implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
- api fileTree(dir: "libs", include: ["*.jar", "*.aar"])
- implementation project(':lib_common')
- //compose依赖
- implementation "androidx.compose.ui:ui:$compose_version"
- implementation 'androidx.compose.material3:material3:1.1.0-rc01'
- implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
- implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1'
- implementation 'androidx.activity:activity-compose:1.7.1'
- implementation "androidx.constraintlayout:constraintlayout-compose:1.0.1"
- // compose 图片加载
- implementation("io.coil-kt:coil-compose:2.1.0")
- implementation "com.google.accompanist:accompanist-systemuicontroller:0.23.1"
- implementation "com.google.accompanist:accompanist-insets:0.23.1"
- implementation "com.google.accompanist:accompanist-insets-ui:0.23.1"
- implementation "com.google.accompanist:accompanist-systemuicontroller:0.23.1"
- implementation "androidx.navigation:navigation-compose:2.5.3"
- implementation "androidx.compose.runtime:runtime-livedata:1.4.2"
- implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.6.1"
- implementation 'androidx.appcompat:appcompat:1.6.1'
- implementation 'com.google.android.material:material:1.8.0'
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.1.5'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
- androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
- debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
- debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_version"
- //广告
- implementation project(':lib_ad_core')
- implementation project(':lib_ad_admob')
- // implementation project(':lib_ad_csj')
- implementation project(':lib_ad_applovinmax')
- implementation project(':lib_ad_gromore')
- implementation project(':lib_ad_gromore_adn')
- implementation "com.pangle.cn:mediation-sdk:5.8.1.8"
- implementation "com.pangle.cn:mediation-gdt-adapter:4.550.1420.2"
- implementation "com.pangle.cn:mediation-baidu-adapter:9.324.0"
- implementation "com.pangle.cn:mediation-klevin-adapter:2.11.0.3.14"//游可赢 adapter
- implementation "com.pangle.cn:mediation-mintegral-adapter:16.5.47.0"//mintegral adapter
- implementation "com.pangle.cn:mediation-sigmob-adapter:4.12.9.0"
- //mintegral
- api("com.mbridge.msdk.support:videojs:16.5.47")
- api("com.mbridge.msdk.support:mbjscommon:16.5.47")
- api("com.mbridge.msdk.support:playercommon:16.5.47")
- api("com.mbridge.msdk.support:reward:16.5.47")
- api("com.mbridge.msdk.support:videocommon:16.5.47")
- api("com.mbridge.msdk.support:chinasame:16.5.47")
- api("com.mbridge.msdk.support:interstitialvideo:16.5.47")
- api("com.mbridge.msdk.support:mbnative:16.5.47")
- api("com.mbridge.msdk.support:nativeex:16.5.47")
- api("com.mbridge.msdk.support:mbnativeadvanced:16.5.47")
- api("com.mbridge.msdk.support:interstitial:16.5.47")
- api("com.mbridge.msdk.support:mbbanner:16.5.47")
- api("com.mbridge.msdk.support:mbsplash:16.5.47")
- api("com.mbridge.msdk.support:mbbid:16.5.47")
- api("com.mbridge.msdk.support:newinterstitial:16.5.47")
- }
|