Skip to content

Commit 9a92dc3

Browse files
committed
gradle: Set apk filename
1 parent 14392be commit 9a92dc3

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

build.gradle

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@ allprojects {
3737
subprojects {
3838
apply plugin: "com.google.devtools.ksp"
3939
//apply plugin: "org.jlleitschuh.gradle.ktlint"
40-
apply plugin: "org.sonarqube"
40+
//apply plugin: "org.sonarqube"
4141
apply plugin: "io.gitlab.arturbosch.detekt"
4242
}
4343

44-
sonarqube {
45-
properties {
46-
property "sonar.projectKey", "owncloud_android"
47-
property "sonar.organization", "owncloud-1"
48-
property "sonar.projectVersion", getBranchName()
49-
property "sonar.host.url", "https://sonarcloud.io"
50-
}
51-
}
44+
//sonarqube {
45+
// properties {
46+
// property "sonar.projectKey", "opencloud_android"
47+
// property "sonar.organization", "opencloud-1"
48+
// property "sonar.projectVersion", getBranchName()
49+
// property "sonar.host.url", "https://sonarcloud.io"
50+
// }
51+
//}
5252

5353
def getBranchName() {
5454
def name = "git rev-parse --abbrev-ref HEAD".execute()

owncloudApp/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ android {
100100

101101
testInstrumentationRunner "com.owncloud.android.utils.OCTestAndroidJUnitRunner"
102102

103-
versionCode = 45000100
104-
versionName = "4.5.1"
103+
versionCode = 1
104+
versionName = "0.1"
105105

106106
buildConfigField "String", gitRemote, "\"" + getGitOriginRemote() + "\""
107107
buildConfigField "String", commitSHA1, "\"" + getLatestGitHash() + "\""
@@ -211,7 +211,7 @@ def setOutputFileName(variant, appName, callerProject) {
211211
if (appName) {
212212
newName += appName
213213
} else {
214-
newName += "owncloud"
214+
newName += "OpenCloud"
215215
}
216216

217217
def versionName = "$variant.mergedFlavor.versionName"

0 commit comments

Comments
 (0)