123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- 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 {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- debug {
- signingConfig signingConfigs.release
- }
- }
- //
- // productFlavors {
- //
- // defaultTest {
- // applicationId "com.kdanmobile.android.pdfreader.google.pad"
- //
- // signingConfig signingConfigs.release
- //
- // }
- //
- // appLovinMaxTest {
- // applicationId "com.pdftechnologies.pdfreaderpro"
- // signingConfig signingConfigs.release
- //
- // }
- //
- // }
- 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 'com.google.android.gms:play-services-ads:21.3.0'
- // implementation 'com.pangle.cn:ads-sdk-pro:4.8.0.8'
- // implementation "com.gromore.cn:gromore-sdk:3.7.0.3"
- // implementation "com.gromore.cn:pangle-adapter:4.8.0.8.2"
- //mintegral
- api("com.mbridge.msdk.support:videojs:16.2.27")
- api("com.mbridge.msdk.support:mbjscommon:16.2.27")
- api("com.mbridge.msdk.support:playercommon:16.2.27")
- api("com.mbridge.msdk.support:reward:16.2.27")
- api("com.mbridge.msdk.support:videocommon:16.2.27")
- api("com.mbridge.msdk.support:chinasame:16.2.27")
- api("com.mbridge.msdk.support:interstitialvideo:16.2.27")
- api("com.mbridge.msdk.support:mbnative:16.2.27")
- api("com.mbridge.msdk.support:nativeex:16.2.27")
- api("com.mbridge.msdk.support:mbnativeadvanced:16.2.27")
- api("com.mbridge.msdk.support:interstitial:16.2.27")
- api("com.mbridge.msdk.support:mbbanner:16.2.27")
- api("com.mbridge.msdk.support:mbsplash:16.2.27")
- api("com.mbridge.msdk.support:mbbid:16.2.27")
- api("com.mbridge.msdk.support:newinterstitial:16.2.27")
- api fileTree(dir: "libs", include: ["*.jar", "*.aar"])
- implementation project(':lib_common')
- 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_scope')
- implementation project(':lib_pdf_base')
- implementation "com.pangle.cn:mediation-gdt-adapter:4.520.1390.0"
- implementation "com.pangle.cn:mediation-baidu-adapter:9.271.1"
- implementation "com.pangle.cn:mediation-klevin-adapter:2.11.0.3.5"//游可赢 adapter
- implementation "com.pangle.cn:mediation-mintegral-adapter:16.4.17.2"//mintegral adapter
- implementation "com.pangle.cn:mediation-sigmob-adapter:4.10.1.0"
- implementation 'com.pangle.cn:mediation-sdk:5.1.6.1'
- implementation 'com.pangle.cn:mediation-test-tools:5.1.6.1'//测试工具
- //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"
- }
|