mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-30 01:16:40 +00:00
Gradle: copy signed debug-version into www/apps
This commit is contained in:
@@ -35,7 +35,6 @@ android {
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
applicationIdSuffix ".dev"
|
||||
versionNameSuffix ".debug"
|
||||
signingConfig signingConfigs.stg_debug
|
||||
}
|
||||
@@ -87,10 +86,10 @@ build.doLast {
|
||||
// Copy APK file
|
||||
copy {
|
||||
from ("build/outputs/apk") {
|
||||
include "**/*release-unsigned.apk"
|
||||
include "**/*debug.apk"
|
||||
}
|
||||
into "../../java/com.sap.sailing.www/apps"
|
||||
rename { String fileName -> fileName.replace("-release-unsigned", "") }
|
||||
rename { String fileName -> fileName.replace("-debug", "") }
|
||||
}
|
||||
|
||||
// Create version file
|
||||
|
||||
@@ -36,7 +36,6 @@ android {
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
applicationIdSuffix ".dev"
|
||||
versionNameSuffix ".debug"
|
||||
signingConfig signingConfigs.stg_debug
|
||||
}
|
||||
@@ -92,10 +91,10 @@ build.doLast {
|
||||
// Copy APK file
|
||||
copy {
|
||||
from ("build/outputs/apk") {
|
||||
include "**/*release-unsigned.apk"
|
||||
include "**/*debug.apk"
|
||||
}
|
||||
into "../../java/com.sap.sailing.www/apps"
|
||||
rename { String fileName -> fileName.replace("-release-unsigned", "") }
|
||||
rename { String fileName -> fileName.replace("-debug", "") }
|
||||
}
|
||||
|
||||
// Create version file
|
||||
|
||||
Reference in New Issue
Block a user