version:1.1

fix:
add:应用使用数据统计
This commit is contained in:
2021-12-25 16:54:44 +08:00
parent 88f65afb48
commit 71e5516ab8
159 changed files with 1671 additions and 3312 deletions

View File

@@ -9,25 +9,25 @@ static def releaseTime() {
}
android {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
Set<File> fileSet = options.bootstrapClasspath.getFiles()
List<File> newFileList = new ArrayList<>();
//JAVA语法可连续调用输入参数建议为相对路径
newFileList.add(new File("libs/framework.jar"))
//最后将原始参数添加
newFileList.addAll(fileSet)
options.bootstrapClasspath = files(
newFileList.toArray()
)
}
}
// gradle.projectsEvaluated {
// tasks.withType(JavaCompile) {
// Set<File> fileSet = options.bootstrapClasspath.getFiles()
// List<File> newFileList = new ArrayList<>();
// //JAVA语法可连续调用输入参数建议为相对路径
// newFileList.add(new File("libs/framework.jar"))
// //最后将原始参数添加
// newFileList.addAll(fileSet)
// options.bootstrapClasspath = files(
// newFileList.toArray()
// )
// }
// }
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig {
applicationId "com.info.sn"
applicationId "com.uiui.sn"
minSdkVersion 24
targetSdkVersion 29
@@ -60,28 +60,28 @@ android {
productFlavors {
beta {
flavorDimensions "default"
versionCode 85
versionName "1.8.5"
versionCode 2
versionName "1.1"
manifestPlaceholders = [
JPUSH_PKGNAME: "com.info.sn",
JPUSH_APPKEY : "edf9cec22731b8b2fed56ee6", //JPush 上注册的包名对应的 Appkey.
JPUSH_PKGNAME: "com.uiui.sn",
JPUSH_APPKEY : "1a1e405ca5a1a5cd50e9f734", //JPush 上注册的包名对应的 Appkey.
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
]
buildConfigField "String", "SCREEN_URL", '"https://homework.uiuios.com:3018/wm/is_online"'
buildConfigField "String", "WEBSOCKET_URL", '"wss://homework.uiuios.com:3018"'
buildConfigField "String", "SCREEN_URL", '"https://led.aolelearn.cn:3018/wm/is_online"'
buildConfigField "String", "WEBSOCKET_URL", '"wss://led.aolelearn.cn:3018"'
}
official {
flavorDimensions "default"
versionCode 77
versionName "1.7.7"
versionCode 1
versionName "1.0"
manifestPlaceholders = [
JPUSH_PKGNAME: "com.info.sn",
JPUSH_APPKEY : "4a6d2d53673e958fa8beb69d", //JPush 上注册的包名对应的 Appkey.
JPUSH_PKGNAME: "com.uiui.sn",
JPUSH_APPKEY : "1a1e405ca5a1a5cd50e9f734", //JPush 上注册的包名对应的 Appkey.
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
]
buildConfigField "String", "SCREEN_URL", '"https://homework.uiuios.com:3018/wm/is_online"'
buildConfigField "String", "WEBSOCKET_URL", '"wss://homework.uiuios.com:3018"'
buildConfigField "String", "SCREEN_URL", '"https://led.aolelearn.cn:3018/wm/is_online"'
buildConfigField "String", "WEBSOCKET_URL", '"wss://led.aolelearn.cn:3018"'
}
}
@@ -121,7 +121,7 @@ android {
buildConfigField "String", "platform", '"ZhanRui"'
signingConfig signingConfigs.zhanRui
manifestPlaceholders = [
AMAP_KEY: "8c4e1d478cb91e6b5713562bc424efba"
AMAP_KEY: "8d89de548781c72b984c4b45b146bf1e"
]
}
@@ -132,7 +132,7 @@ android {
debuggable true
signingConfig signingConfigs.zhanRui
manifestPlaceholders = [
AMAP_KEY: "8c4e1d478cb91e6b5713562bc424efba"
AMAP_KEY: "8d89de548781c72b984c4b45b146bf1e"
]
}
@@ -152,7 +152,7 @@ android {
}
}
manifestPlaceholders = [
AMAP_KEY: "83869aed8624eb00615c2b6d3d15d777"
AMAP_KEY: "8d89de548781c72b984c4b45b146bf1e"
]
}
@@ -177,7 +177,7 @@ android {
}
}
manifestPlaceholders = [
AMAP_KEY: "83869aed8624eb00615c2b6d3d15d777"
AMAP_KEY: "8d89de548781c72b984c4b45b146bf1e"
]
}
}
@@ -192,13 +192,13 @@ android {
dependencies {
// implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
compileOnly files('libs/framework.jar')
implementation 'androidx.appcompat:appcompat:1.3.1'
//implementation 'com.android.support:multidex:1.0.3'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'