一键打包配置
This commit is contained in:
@@ -32,11 +32,44 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -33,11 +33,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|
||||||
|
|||||||
@@ -47,10 +47,44 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -46,10 +46,44 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,10 +34,44 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,10 +34,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -33,10 +33,44 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,10 +34,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -33,10 +33,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,10 +34,44 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,10 +34,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,10 +34,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,10 +34,44 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,10 +34,44 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,10 +34,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -35,10 +35,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,10 +34,44 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -33,10 +33,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,11 +34,44 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -33,11 +33,44 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -33,10 +33,44 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -33,10 +33,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -35,10 +35,44 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,10 +34,44 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -35,10 +35,44 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -33,10 +33,45 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
@@ -41,6 +42,40 @@ android {
|
|||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility 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 {
|
dependencies {
|
||||||
|
|||||||
@@ -33,10 +33,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -35,10 +35,44 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,11 +34,45 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -35,10 +35,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -35,10 +35,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -33,10 +33,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,10 +34,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -35,10 +35,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,10 +34,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,10 +34,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -33,10 +33,44 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,10 +34,44 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -35,10 +35,45 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
|
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -33,10 +33,45 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
|
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -34,10 +34,45 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
|
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -35,10 +35,45 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
|
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -36,10 +36,45 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
|
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -35,10 +35,45 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
|
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -33,10 +33,45 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
|
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -47,10 +47,45 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
|
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -31,26 +31,60 @@ android {
|
|||||||
// keyAlias 'key0'
|
// keyAlias 'key0'
|
||||||
// keyPassword "dskj2024"
|
// keyPassword "dskj2024"
|
||||||
// }
|
// }
|
||||||
// debug {
|
debug {
|
||||||
// storeFile file('dskjweb.jks')
|
storeFile file('dskjweb.jks')
|
||||||
// storePassword "dskj2024"
|
storePassword "dskj2024"
|
||||||
// keyAlias 'dskjalias'
|
keyAlias 'dskjalias'
|
||||||
// keyPassword "dskj2024"
|
keyPassword "dskj2024"
|
||||||
// }
|
}
|
||||||
// release {
|
release {
|
||||||
// storeFile file('dskjweb.jks')
|
storeFile file('dskjweb.jks')
|
||||||
// storePassword "dskj2024"
|
storePassword "dskj2024"
|
||||||
// keyAlias 'dskjalias'
|
keyAlias 'dskjalias'
|
||||||
// keyPassword "dskj2024"
|
keyPassword "dskj2024"
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
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 {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
Reference in New Issue
Block a user