一键打包配置

This commit is contained in:
xuhuixiang
2025-03-17 10:10:50 +08:00
parent 112ba82c7b
commit e4278d1384
48 changed files with 1650 additions and 12 deletions

View File

@@ -32,11 +32,44 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "76pokies"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8

View File

@@ -33,11 +33,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "9kelab"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8

View File

@@ -47,10 +47,44 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "bbj"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -46,10 +46,44 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "Bintang918"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,10 +34,44 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "dn99"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,10 +34,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "Cashsweep"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -33,10 +33,44 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "dmcslot"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,10 +34,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "Gdslot888"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -33,10 +33,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "Jeslot88"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,10 +34,44 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "Judy88"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,10 +34,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "dn99"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,10 +34,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "Magnum888"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,10 +34,44 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "Mahkota8"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,10 +34,44 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "mk88aud"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,10 +34,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "Mko888"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -35,10 +35,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "Oyen333"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,10 +34,44 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "Petron777"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -33,10 +33,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "RichSpin96"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,11 +34,44 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "dn99"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8

View File

@@ -33,11 +33,44 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "dn99"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8

View File

@@ -33,10 +33,44 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "testapp"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -33,10 +33,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "bk888"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -35,10 +35,44 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "boda8au"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,10 +34,44 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "dn99"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -35,10 +35,44 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "cergas"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -33,10 +33,45 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "dapatcuci"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -33,6 +33,7 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
@@ -41,6 +42,40 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "dn99"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
}
dependencies {

View File

@@ -33,10 +33,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "emu668"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -35,10 +35,44 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "jackpotau"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,11 +34,45 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "mgi"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -35,10 +35,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "mk99pgk"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -35,10 +35,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "nak99"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -33,10 +33,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "nova668"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,10 +34,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "petronas777"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -35,10 +35,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "play33new"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,10 +34,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "play88aus"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,10 +34,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "pms99"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -33,10 +33,44 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "ppn88"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,10 +34,44 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "shell777"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -35,10 +35,45 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "speednp"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -33,10 +33,45 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "spinsini"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -34,10 +34,45 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "telur33"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -35,10 +35,45 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "toto88new"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -36,10 +36,45 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "ttslot888new"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -35,10 +35,45 @@ android {
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "u88"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -33,10 +33,45 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "ufo9"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -47,10 +47,45 @@ android {
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "uwin33"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -31,26 +31,60 @@ android {
// keyAlias 'key0'
// keyPassword "dskj2024"
// }
// debug {
// storeFile file('dskjweb.jks')
// storePassword "dskj2024"
// keyAlias 'dskjalias'
// keyPassword "dskj2024"
// }
// release {
// storeFile file('dskjweb.jks')
// storePassword "dskj2024"
// keyAlias 'dskjalias'
// keyPassword "dskj2024"
// }
debug {
storeFile file('dskjweb.jks')
storePassword "dskj2024"
keyAlias 'dskjalias'
keyPassword "dskj2024"
}
release {
storeFile file('dskjweb.jks')
storePassword "dskj2024"
keyAlias 'dskjalias'
keyPassword "dskj2024"
}
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "vv88aud"
def outputDir = new File("F:/web_app")
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"
// 设置输出文件名
setOutputFileName(outputFileName)
// 计算新的输出文件
def newOutputFile = new File(outputDir, outputFileName)
// 如果新的输出目录不存在,则创建它
newOutputFile.parentFile.mkdirs()
// 在构建完成后将 APK 复制到新位置
variant.assemble.doLast {
try {
java.nio.file.Files.copy(
outputFile.toPath(),
newOutputFile.toPath(),
java.nio.file.StandardCopyOption.REPLACE_EXISTING
)
println "Success to copy APK !!!"
} catch (java.io.IOException e) {
println "Failed to copy APK: ${e.message}"
}
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8