ci: drop play support

This commit is contained in:
NextAlone 2022-04-15 23:41:07 +08:00
parent 5fe3fe0f4e
commit e84bc8f4e9
No known key found for this signature in database
GPG Key ID: DBA7B0AEF8C1CD2C

View File

@ -13,25 +13,6 @@ if (System.getenv("DEBUG_BUILD") == "true") {
def officialVer = "8.6.2"
def officialCode = 2600
def serviceAccountCredentialsFile = rootProject.file("service_account_credentials.json")
def beta = verName.contains("preview")
if (serviceAccountCredentialsFile.isFile()) {
setupPlay(beta)
play.serviceAccountCredentials = serviceAccountCredentialsFile
} else if (System.getenv().containsKey("ANDROID_PUBLISHER_CREDENTIALS")) {
setupPlay(beta)
}
void setupPlay(boolean beta) {
apply plugin: "com.github.triplet.play"
play {
track = beta ? "beta" : "production"
defaultToAppBundles = true
}
}
configurations {
compile.exclude module: "support-v4"
}
@ -163,10 +144,6 @@ android {
}
dexOptions {
jumboMode = true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
@ -418,8 +395,6 @@ android {
task.enabled = false
} else if (task.name.contains("Crashlytics") && task.name.contains("NoGcm")) {
task.enabled = false
} else if (task.name.endsWith("GoogleServices") && task.name.contains("NoGcm")) {
task.enabled = false
}
}