hch
2024-05-22 1f9ca5966385f6b4932ac1d0c17b03c6c03b9afd
SdkProject/library/build.gradle
@@ -33,17 +33,18 @@
def channelJavaFiles = getAllFiles(new ArrayList<File>(), "${channelPath}/java")
android {
    compileSdkVersion 30
    buildToolsVersion "28.0.3"
    compileSdkVersion 33
    buildToolsVersion "33.0.0"
    defaultConfig {
        minSdkVersion 21
        targetSdkVersion 30
        targetSdkVersion 33
        versionCode 1
        versionName "1.0"
//        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        consumerProguardFiles "consumer-rules.pro"
        multiDexEnabled true
    }
@@ -64,6 +65,7 @@
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    packagingOptions {exclude 'META-INF/rxjava.properties'}
    lintOptions {
        checkReleaseBuilds false
        abortOnError false
@@ -182,7 +184,7 @@
}
dependencies {
    implementation 'androidx.annotation:annotation:1.0.0'
    //implementation 'androidx.annotation:annotation:1.0.0'
    testImplementation 'junit:junit:4.13.2'
    //noinspection GradleCompatible
//    implementation 'com.android.support:appcompat-v7:28.0.0'
@@ -199,41 +201,27 @@
    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'
//以下为必需依赖的库
    implementation(name: 'common-release', ext: 'aar')
    implementation(name: 'sdk_mycard-release', ext: 'aar')
    implementation(name: 'sdk_oaid-release', ext: 'aar')
    implementation(name: 'sdk_res_ald-release', ext: 'aar')
    //SDK基础能力
    implementation 'com.appsflyer:af-android-sdk:6.9.0'
    implementation 'com.android.installreferrer:installreferrer:2.2'
    api 'androidx.annotation:annotation:1.5.0'
    api 'androidx.core:core:1.6.0'
    api 'androidx.percentlayout:percentlayout:1.0.0'
    //google ID
    implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1'
    //firebase
    implementation 'com.google.firebase:firebase-analytics'
    implementation platform('com.google.firebase:firebase-bom:31.2.2') {
        exclude group: 'com.android.support', module: 'support-compat'
    }
    //base  theme
    api 'androidx.appcompat:appcompat:1.2.0'
    //ald ui用
    api 'androidx.cardview:cardview:1.0.0'
}