hch
2023-11-19 a458ea510569c1c8ef0ca67b8af21ccf9447c9a3
SdkProject/library/build.gradle
@@ -1,5 +1,6 @@
plugins {
    id 'com.android.library'
    id 'com.google.gms.google-services'
}
def rootPath = rootProject.getRootDir().getAbsolutePath()
@@ -34,16 +35,17 @@
android {
    compileSdkVersion 30
    buildToolsVersion "28.0.3"
    buildToolsVersion "30.0.3"
    defaultConfig {
        minSdkVersion 21
        targetSdkVersion 30
        targetSdkVersion 31
        versionCode 1
        versionName "1.0"
//        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        consumerProguardFiles "consumer-rules.pro"
        multiDexEnabled true
    }
@@ -64,6 +66,7 @@
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    packagingOptions {exclude 'META-INF/rxjava.properties'}
    lintOptions {
        checkReleaseBuilds false
        abortOnError false
@@ -199,41 +202,25 @@
    implementation('androidx.appcompat:appcompat:1.0.0') {
        force = true
    }
    implementation(name: 'SohaSDK', ext: 'aar')
    implementation 'com.google.android.material:material:1.0.0'
    api 'com.squareup.retrofit2:retrofit:2.5.0'
    api 'com.squareup.retrofit2:converter-gson:2.4.0'
    api 'com.squareup.okhttp3:logging-interceptor:3.9.0'
    implementation 'com.google.firebase:firebase-analytics:17.4.1'
    implementation 'com.google.firebase:firebase-messaging:20.1.7'
    implementation 'com.google.firebase:firebase-dynamic-links:19.1.0'
    implementation 'com.google.firebase:firebase-config:19.1.4'
    implementation 'com.facebook.android:facebook-login:11.1.0'
    implementation 'com.android.billingclient:billing:3.0.0'
    implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.1.1'
    implementation 'org.eclipse.paho:org.eclipse.paho.android.service:1.1.1'
    implementation 'androidx.lifecycle:lifecycle-extensions:2.1.0'
    api 'com.github.bumptech.glide:glide:4.9.0'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
    implementation 'com.github.ybq:Android-SpinKit:1.1.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    api 'androidx.multidex:multidex:2.0.1'
    api 'com.appsflyer:af-android-sdk:5.4.1'
    api 'com.android.installreferrer:installreferrer:1.0'
    api 'com.google.android.gms:play-services-auth:18.0.0'
    implementation 'com.adjust.sdk:adjust-android:4.28.3'
    //sdk所需依赖
    implementation 'androidx.recyclerview:recyclerview:1.0.0'
    implementation 'com.squareup.okhttp3:logging-interceptor:3.12.0'
    //firebase
    implementation(platform("com.google.firebase:firebase-bom:32.2.2"))
    implementation 'com.google.firebase:firebase-analytics'
    implementation 'com.google.firebase:firebase-auth'
    // google
    implementation 'com.google.android.gms:play-services-auth:20.6.0'
    // facebook
    implementation 'com.facebook.android:facebook-login:16.2.0'
    implementation 'androidx.activity:activity-compose:1.3.1'
    // google 支付
    implementation 'com.android.billingclient:billing:6.0.1'
    implementation 'androidx.fragment:fragment:1.3.2'
    // adjust (V1.0.2新增)
    implementation 'com.adjust.sdk:adjust-android:4.33.5'
    implementation 'com.android.installreferrer:installreferrer:2.2'
    implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1'
    implementation 'com.google.android.gms:play-services-appset:16.0.2'
}