plugins { id 'com.android.application' id 'kotlin-android' } def keystorePropertiesFile = rootProject.file("keystore.properties") def keystoreProperties = new Properties() keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) android { compileSdk rootProject.ext.android.compileSdk buildToolsVersion rootProject.ext.android.buildToolsVersion defaultConfig { applicationId 'com.shzd.eyuangame' minSdk rootProject.ext.android.minSdk targetSdk rootProject.ext.android.targetSdk versionCode 1 versionName '0.0.1' multiDexEnabled true resConfigs 'zh-rCN', 'zh-rHK', 'zh-rTW' } signingConfigs { config { keyAlias keystoreProperties['keyAlias'] keyPassword keystoreProperties['keyPassword'] storeFile file(keystoreProperties['storeFile']) storePassword keystoreProperties['storePassword'] v1SigningEnabled true v2SigningEnabled true } } buildTypes { debug { minifyEnabled false signingConfig signingConfigs.config proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } release { minifyEnabled false signingConfig signingConfigs.config proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } lintOptions { abortOnError false } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' useIR = true } packagingOptions { resources { excludes += '/META-INF/{AL2.0,LGPL2.1}' } } } dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version" implementation 'androidx.appcompat:appcompat:1.4.1' // implementation "androidx.core:core-ktx:1.7.0" // implementation 'com.android.installreferrer:installreferrer:2.2' // // 日志采集框架 // implementation 'io.github.suyghur.dolin:zap:1.0.0' // //mmkv // implementation 'com.tencent:mmkv-static:1.2.10' // // implementation 'com.adjust.sdk:adjust-android:4.28.2' // implementation files('libs/library_comm-release.aar') implementation 'io.github.yyxxgame.sdk:eyuancomm-sdk-ktx-comm:1.0.0-rc8' implementation 'io.github.yyxxgame.sdk:eyuancomm-sdk-ktx-impl:1.0.0-rc8' implementation 'io.github.yyxxgame.sdk:eyuancomm-sdk-ktx-core:1.0.0-rc8' implementation 'io.github.yyxxgame.sdk:eyuancomm-lang-vn:1.0.0-rc8' // implementation project(':library_comm') // implementation project(':library_impl') // // implementation project(':module_eyuan:library_eyuan') // implementation project(':module_eyuan:library_vn_language') }