version:1.8.5

date:2021-12-03 15:42:13
fix:
add:准备移植到老人平板项目
This commit is contained in:
2021-12-03 15:43:25 +08:00
parent d69ed39e22
commit 88f65afb48
21 changed files with 655 additions and 293 deletions

View File

@@ -1,7 +1,7 @@
apply plugin: 'com.android.application'
static def appName() {
return "SnInfo"
return "UIUISN"
}
static def releaseTime() {
@@ -9,6 +9,20 @@ 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()
)
}
}
compileSdkVersion 29
buildToolsVersion "29.0.3"
@@ -46,8 +60,8 @@ android {
productFlavors {
beta {
flavorDimensions "default"
versionCode 82
versionName "1.8.2"
versionCode 85
versionName "1.8.5"
manifestPlaceholders = [
JPUSH_PKGNAME: "com.info.sn",
JPUSH_APPKEY : "edf9cec22731b8b2fed56ee6", //JPush 上注册的包名对应的 Appkey.
@@ -179,7 +193,7 @@ android {
dependencies {
// implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
compileOnly files('src/main/libs/classes.jar')
compileOnly files('libs/framework.jar')
implementation 'androidx.appcompat:appcompat:1.3.1'
//implementation 'com.android.support:multidex:1.0.3'