mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-12-16 22:11:32 +01:00
Bump version
This commit is contained in:
parent
5535ebc0cd
commit
0778d78f8d
@ -5,8 +5,8 @@ apply plugin: 'com.android.application'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'kotlin-android-extensions'
|
||||
|
||||
def verName = "7.2.1-preview06"
|
||||
def verCode = 100
|
||||
def verName = "7.2.1-rc01"
|
||||
def verCode = 102
|
||||
|
||||
def serviceAccountCredentialsFile = rootProject.file("service_account_credentials.json")
|
||||
|
||||
@ -57,7 +57,7 @@ buildscript {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'cn.hutool:hutool-all:5.4.6'
|
||||
classpath 'cn.hutool:hutool-all:5.4.7'
|
||||
}
|
||||
|
||||
}
|
||||
@ -101,8 +101,8 @@ dependencies {
|
||||
implementation 'dnsjava:dnsjava:3.3.1'
|
||||
implementation 'org.dizitart:nitrite:3.4.2'
|
||||
|
||||
implementation 'cn.hutool:hutool-core:5.4.6'
|
||||
implementation 'cn.hutool:hutool-crypto:5.4.6'
|
||||
implementation 'cn.hutool:hutool-core:5.4.7'
|
||||
implementation 'cn.hutool:hutool-crypto:5.4.7'
|
||||
|
||||
implementation project(":openpgp-api")
|
||||
|
||||
@ -120,21 +120,6 @@ dependencies {
|
||||
|
||||
}
|
||||
|
||||
task writeUpdateInfo {
|
||||
|
||||
def info = new JSONObject()
|
||||
|
||||
info.set("version", verName)
|
||||
info.set("versionCode", verCode)
|
||||
info.set("defaultFlavor", "full")
|
||||
info.set("defaultApkName", "NekoX-full-arm64-v8a-release.apk.xz")
|
||||
|
||||
FileUtil.writeUtf8String(info.toStringPretty(), new File("build/update.json"))
|
||||
|
||||
}
|
||||
|
||||
tasks.findByName("preBuild").finalizedBy(writeUpdateInfo)
|
||||
|
||||
android {
|
||||
compileSdkVersion 30
|
||||
buildToolsVersion '30.0.2'
|
||||
|
Loading…
Reference in New Issue
Block a user