123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- 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'
- }
- }
- ndk {
- // 设置支持的SO库架构
- 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.comm"]
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = "1.8"
- }
- externalNativeBuild {
- cmake {
- path "CMakeLists.txt"
- }
- }
- packagingOptions {
- resources.excludes += "DebugProbesKt.bin"
- }
- }
- dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
- implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
- implementation "androidx.core:core-ktx:1.8.0"
- implementation 'com.android.installreferrer:installreferrer:2.2'
- // 日志采集框架
- api 'io.github.suyghur.dolin:zap:1.0.0'
- // mmkv
- api 'com.tencent:mmkv-static:1.2.10'
- implementation 'com.adjust.sdk:adjust-android:4.28.2'
- compileOnly 'com.google.firebase:firebase-analytics-ktx:21.0.0'
- compileOnly 'com.facebook.android:facebook-core:13.1.0'
- compileOnly 'com.huawei.hms:hianalytics:6.5.0.300'
- api files("../libs/yyxx_support_1.0.2.jar")
- api files("../libs/oaid_sdk_1.0.25.jar")
- }
- apply from: 'buildJar.gradle'
- apply from: 'publish.gradle'
|