forked from soramitsu/fearless-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
72 lines (62 loc) · 1.91 KB
/
build.gradle
File metadata and controls
72 lines (62 loc) · 1.91 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
63
64
65
66
67
68
69
70
71
72
apply from: './scripts/secrets.gradle'
apply plugin: "detekt-setup"
apply plugin: "org.sonarqube"
buildscript {
ext {
// App version
versionName = '3.4.3'
versionCode = 168
// SDK and tools
compileSdkVersion = 34
minSdkVersion = 24
targetSdkVersion = 33
composeCompilerVersion = '1.5.9'
withoutBasic = { exclude group: 'jp.co.soramitsu.xnetworking', module: 'basic' }
withoutJna = { exclude group: 'net.java.dev.jna' }
withoutJavaWS = { exclude module: 'java-websocket-lib' }
}
repositories {
google()
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
maven { url 'https://maven.google.com' }
}
dependencies {
classpath libs.gradleplugins.android
classpath libs.gradleplugins.kotlin
classpath libs.kotlin.serialization
classpath libs.google.services
classpath libs.firebase.appdistribution.gradle
classpath libs.play.publisher
classpath libs.gradleplugins.hiltAndroid
classpath libs.org.jacoco.core
classpath libs.sonarqube.gradle.plugin
}
configurations.configureEach {
resolutionStrategy {
cacheChangingModulesFor 0, 'seconds'
}
}
}
allprojects {
repositories {
google()
mavenLocal()
maven { url "https://nexus.iroha.tech/repository/maven-soramitsu/" }
maven { url "https://jitpack.io" }
mavenCentral()
maven {
url = readSecret("PAY_WINGS_REPOSITORY_URL")
credentials {
username = readSecret("PAY_WINGS_USERNAME")
password = readSecret("PAY_WINGS_PASSWORD")
}
}
}
}
tasks.register('clean', Delete) {
delete rootProject.buildDir
}
tasks.register('runTest', GradleBuild) {
tasks = ['clean', 'detektAll', 'runModuleTests', 'jacocoTestReport']
}