app/build.gradle | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
build.gradle | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
config.gradle | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
local.properties | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
app/build.gradle
@@ -28,9 +28,9 @@ defaultConfig { applicationId "com.hdl.photovoltaic" minSdk 23 targetSdk 30 targetSdk 28 versionCode 1 versionName "1.4.0"//版本规则1.3是产品功能迭代用的,最后一位0是我们修复bug用的 versionName "1.3.3"//版本规则1.3是产品功能迭代用的,最后一位0是我们修复bug用的 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" multiDexEnabled true manifestPlaceholders = mfph @@ -121,17 +121,14 @@ implementation 'androidx.navigation:navigation-fragment:2.3.5' implementation 'androidx.navigation:navigation-ui:2.3.5' implementation 'androidx.legacy:legacy-support-v4:1.0.0' //时间库 implementation project(path: ':pickerview') //图表库 implementation project(path: ':aa_chart_core') //国家列表和手机区号库 implementation project(path: ':countrypicker') //二维码库 implementation project(path: ':third-zxing') //Link本地库(在线依赖网络库) implementation 'com.hdl.android:pmsdk:1.0.2' implementation 'com.hdl.android:debugsdk:1.0.22' implementation 'com.hdl.android:debugsdk:1.0.23' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.3' @@ -143,9 +140,8 @@ //Eventbus事件发布与接收 implementation 'org.greenrobot:eventbus:3.3.1' //屏幕适配库 //屏幕适配 implementation 'com.github.JessYanCoding:AndroidAutoSize:v1.2.1' //图片加载库 implementation 'com.github.bumptech.glide:glide:4.13.0' @@ -181,6 +177,13 @@ //分析和用户标签等功能(可选,集成极光分析SDK后,即可支持行为触发推送消息、推送转化率统计,用户行为分) implementation 'cn.jiguang.sdk:joperate:2.0.2' //PickerView implementation 'com.contrarywind:Android-PickerView:4.1.9' //若不集成厂商通道,可直接跳过以下依赖 // 极光厂商插件版本与接入 JPush 版本保持一致,下同 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