From 3fa10fc7f750cfce494ebb1523c19056bb2aa2c7 Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期三, 22 五月 2024 11:47:05 +0800
Subject: [PATCH] 增加上阿里云下拉库账号
---
build.gradle | 6 +++---
local.properties | 4 ++--
config.gradle | 9 +++++++++
app/build.gradle | 2 +-
4 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/app/build.gradle b/app/build.gradle
index a889e97..df36e5a 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -128,7 +128,7 @@
implementation project(path: ':third-zxing')
//Link鏈湴搴擄紙鍦ㄧ嚎渚濊禆缃戠粶搴擄級
implementation 'com.hdl.android:pmsdk:1.0.2'
- implementation 'com.hdl.android:debugsdk:1.0.21'
+ implementation 'com.hdl.android:debugsdk:1.0.23'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
diff --git a/build.gradle b/build.gradle
index 15d7362..749931d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,5 +1,5 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
-
+apply from:"config.gradle"
buildscript {
repositories {
@@ -38,8 +38,8 @@
}
maven {
credentials {
- username '5f067ef57cd41782836ff14b'
- password 'RyTWP(4APhV8'
+ username rootProject.ext.ALIYUN_USER_NAME
+ password rootProject.ext.ALIYUN_PASSWORD
}
url 'https://packages.aliyun.com/maven/repository/2012126-release-Mc0DNo/'
}
diff --git a/config.gradle b/config.gradle
new file mode 100644
index 0000000..9b09e9e
--- /dev/null
+++ b/config.gradle
@@ -0,0 +1,9 @@
+Properties properties = new Properties()
+properties.load(project.rootProject.file('local.properties').newDataInputStream())
+
+ext {
+ //浣跨敤鍥哄畾璐﹀彿
+ ALIYUN_USER_NAME = '5f0673aa7cd41782836e7d3e'
+ ALIYUN_PASSWORD = 'lBNkb1So7zEY'
+ BASE_URL = 'https://packages.aliyun.com'
+}
\ No newline at end of file
diff --git a/local.properties b/local.properties
index 7e45c0e..c2a6576 100644
--- a/local.properties
+++ b/local.properties
@@ -4,5 +4,5 @@
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
-#Fri Feb 23 16:45:51 CST 2024
-sdk.dir=/Users/user/Library/Android/sdk
+#Wed May 22 11:24:49 CST 2024
+sdk.dir=/Users/hdl/Library/Developer/Xamarin/android-sdk-macosx
--
Gitblit v1.8.0