plugins { id 'com.android.library' id 'kotlin-android' } android { compileSdk rootProject.ext.android.compileSdk buildToolsVersion rootProject.ext.android.buildToolsVersion defaultConfig { minSdk rootProject.ext.android.minSdk targetSdk rootProject.ext.android.targetSdk } buildTypes { release { minifyEnabled false proguardFiles 'proguard-rules.pro' } } buildFeatures { buildConfig false } lintOptions { abortOnError false } compileOptions { kotlinOptions.freeCompilerArgs += ['-module-name', "cn.yyxx.eyuangame.channel.huawei"] } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = "1.8" } } dependencies { api 'com.huawei.hms:iap:6.3.0.300' api 'com.huawei.hms:game:6.2.0.300' api 'com.huawei.hms:hianalytics:6.5.0.300' api 'com.huawei.agconnect:agconnect-crash:1.6.4.300' api "com.huawei.agconnect:agconnect-auth:1.6.4.300" api "com.huawei.agconnect:agconnect-auth-huawei:1.6.4.300" api "com.huawei.agconnect:agconnect-auth-facebook:1.6.4.300" api "com.huawei.agconnect:agconnect-auth-google:1.6.4.300" api 'com.huawei.hms:hwid:6.4.0.300' api 'com.facebook.android:facebook-login:13.1.0' api 'com.google.android.gms:play-services-auth:20.2.0' } apply from: 'publish.gradle'