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.yyxx.qyj2.huawei' minSdk rootProject.ext.android.minSdk targetSdk 26 versionCode 20000 versionName "20.2.0" multiDexEnabled true } 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" } sourceSets { main { assets { srcDirs 'src/main/assets' } } } } dependencies { implementation project(path: ':library_core') implementation project(path: ':library_channel') // implementation project(path: ':library_platform:hnyy') // implementation project(path: ':library_platform:hnqj') // implementation project(path: ':library_platform:shxy') // implementation project(path: ':library_platform:xinrui') // implementation project(path: ':library_channel_repository:oppo') implementation project(path: ':library_channel_repository:huawei') implementation project(path: ':library_base') }