version:1.6
fix:修复浏览器更新 add:
This commit is contained in:
@@ -9,19 +9,20 @@ 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()
|
||||
)
|
||||
}
|
||||
}
|
||||
//Android Studio 4.0 之后使用这个,但是会把jar打包进apk
|
||||
// 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 "30.0.3"
|
||||
@@ -58,8 +59,8 @@ android {
|
||||
//新平台正式
|
||||
newly {
|
||||
flavorDimensions "default"
|
||||
versionCode 5
|
||||
versionName "1.4"
|
||||
versionCode 7
|
||||
versionName "1.6"
|
||||
/*********************************极光推送************************************/
|
||||
manifestPlaceholders = [
|
||||
JPUSH_PKGNAME: "com.aoleyun.sn",
|
||||
@@ -280,7 +281,7 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||
// implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||
compileOnly files('libs/framework.jar')
|
||||
|
||||
implementation 'androidx.appcompat:appcompat:1.3.1'
|
||||
|
||||
Reference in New Issue
Block a user