This repository was archived by the owner on May 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathbuild.gradle
More file actions
executable file
·62 lines (55 loc) · 1.8 KB
/
Copy pathbuild.gradle
File metadata and controls
executable file
·62 lines (55 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
buildscript {
repositories {
google()
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
jcenter()
}
dependencies {
classpath BuildLibs.detekt
classpath BuildLibs.firebase_crashlytics
classpath BuildLibs.google_services
classpath BuildLibs.gradle_android
classpath BuildLibs.gradle_versions
classpath BuildLibs.kotlin_plugin
classpath BuildLibs.kotlin_serialization
classpath BuildLibs.kotlinx_serialization
classpath BuildLibs.jacoco
classpath BuildLibs.sonarqube
}
ext.getVersionCode = {
if (System.getenv('BITRISE_BUILD_NUMBER') != null)
return Integer.valueOf(System.getenv('BITRISE_BUILD_NUMBER'))
else
return Integer.valueOf(Versions.versionCode)
}
ext.getKeyAlias = {
if (System.getenv('BITRISEIO_ANDROID_KEYSTORE_ALIAS') != null)
return System.getenv('BITRISEIO_ANDROID_KEYSTORE_ALIAS')
else
return System.getenv('REPEATCARD_KEYSTORE_ALIAS')
}
ext.storePassword = {
if (System.getenv('BITRISEIO_ANDROID_KEYSTORE_PASSWORD') != null)
return System.getenv('BITRISEIO_ANDROID_KEYSTORE_PASSWORD')
else
return System.getenv("REPEATCARD_SIGNING_STOREPASSWORD")
}
ext.keyPassword = {
if (System.getenv('BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD') != null)
return System.getenv('BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD')
else
return System.getenv("REPEATCARD_SIGNING_KEYPASSWORD")
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}