hxb
2024-05-22 3fa10fc7f750cfce494ebb1523c19056bb2aa2c7
增加上阿里云下拉库账号
1个文件已添加
3个文件已修改
21 ■■■■ 已修改文件
app/build.gradle 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
build.gradle 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
config.gradle 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
local.properties 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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'
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/'
        }
config.gradle
New file
@@ -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'
}
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