1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- plugins {
- id 'com.android.library'
- id 'kotlin-android'
- }
- android {
- compileSdk rootProject.ext.android.compileSdk
- buildToolsVersion rootProject.ext.android.buildToolsVersion
- ndkVersion rootProject.ext.android.ndkVersion
- defaultConfig {
- minSdk rootProject.ext.android.minSdk
- targetSdk rootProject.ext.android.targetSdk
- // externalNativeBuild {
- // cmake {
- // cppFlags '-std=c++11 -frtti -fexceptions -lz'
- // abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
- // }
- // }
- }
- buildTypes {
- release {
- minifyEnabled rootProject.ext.module.minifyEnabled
- proguardFiles 'proguard-rules.pro'
- }
- }
- buildFeatures {
- buildConfig false
- }
- lintOptions {
- abortOnError false
- }
- compileOptions {
- kotlinOptions.freeCompilerArgs += ['-module-name', "cn.yyxx.eyuancomm.core"]
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = "1.8"
- }
- // externalNativeBuild {
- // cmake {
- // path "CMakeLists.txt"
- // }
- // }
- }
- dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
- implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
- implementation 'androidx.core:core-ktx:1.7.0'
- implementation 'androidx.fragment:fragment-ktx:1.4.1'
- implementation "androidx.viewpager2:viewpager2:1.0.0"
- implementation 'com.android.installreferrer:installreferrer:2.2'
- //google
- implementation 'com.google.android.play:core:1.10.3'
- implementation 'com.google.android.gms:play-services-auth:20.1.0'
- //4.0.0的billing库消耗商品会回调两次,后续在排查,先用3.0.3
- implementation 'com.android.billingclient:billing-ktx:3.0.3'
- implementation 'com.google.firebase:firebase-analytics-ktx:20.1.2'
- implementation 'com.google.firebase:firebase-crashlytics-ktx:18.2.9'
- //facebook
- implementation 'com.facebook.android:facebook-core:13.1.0'
- implementation 'com.facebook.android:facebook-login:13.0.0'
- implementation 'com.facebook.android:facebook-share:13.0.0'
- compileOnly project(':module_eyuan:library_hk_language')
- compileOnly project(':library_comm')
- }
- apply from: 'publish.gradle'
|