From 2c8ad576f34fce45ede53e8e85bd92d5dc5cf79b Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 14 八月 2024 18:33:27 +0800
Subject: [PATCH] 0312 越南官网sdk通信改非明文
---
SdkProject/library/build.gradle | 51 ++++++++++++++++++++++++++++++++++++++-------------
1 files changed, 38 insertions(+), 13 deletions(-)
diff --git a/SdkProject/library/build.gradle b/SdkProject/library/build.gradle
index 1857d2c..f324c84 100644
--- a/SdkProject/library/build.gradle
+++ b/SdkProject/library/build.gradle
@@ -1,6 +1,7 @@
plugins {
id 'com.android.library'
}
+
def rootPath = rootProject.getRootDir().getAbsolutePath()
def channelPath = "${rootPath}/channel/${CHANNEL_NAME}"
@@ -32,18 +33,20 @@
def channelJavaFiles = getAllFiles(new ArrayList<File>(), "${channelPath}/java")
android {
- compileSdkVersion 29
- buildToolsVersion "28.0.1"
+ compileSdkVersion 34
+ buildToolsVersion "34.0.0"
defaultConfig {
minSdkVersion 21
- targetSdkVersion 29
+ targetSdkVersion 34
versionCode 1
versionName "1.0"
// testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
+ multiDexEnabled true
}
+
flavorDimensions "version"
productFlavors {
@@ -59,9 +62,10 @@
}
}
compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
+ sourceCompatibility JavaVersion.VERSION_11
+ targetCompatibility JavaVersion.VERSION_11
}
+ packagingOptions {exclude 'META-INF/rxjava.properties'}
lintOptions {
checkReleaseBuilds false
abortOnError false
@@ -180,13 +184,6 @@
}
dependencies {
- implementation 'androidx.annotation:annotation:1.0.0'
- testImplementation 'junit:junit:4.13.2'
-
- //noinspection GradleCompatible
-// implementation 'com.android.support:appcompat-v7:28.0.0'
-
-// implementation 'com.github.pqpo:Log4a:1.4.2@aar'
implementation fileTree(dir: "../channel/${CHANNEL_NAME}/libs/", include: ['*.jar'])
plugins.each {
@@ -194,4 +191,32 @@
}
implementation fileTree(dir: 'libs', include: ['*.jar'], exclude: ['unity-classes.jar'])
compileOnly files('libs/unity-classes.jar')
-}
\ No newline at end of file
+
+//浠ヤ笅涓哄繀闇�渚濊禆鐨勫簱
+ implementation(name: 'ald_v', 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'
+
+ //rustore
+ implementation 'org.jetbrains:annotations:15.0'
+ implementation("ru.rustore.sdk:billingclient:6.0.0")
+
+ //paypal
+ //implementation('com.paypal.checkout:android-sdk:1.3.0')
+ implementation('androidx.browser:browser:1.5.0')
+}
--
Gitblit v1.8.0