-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
89 lines (77 loc) · 2.34 KB
/
build.gradle
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.6.21'
ext.apolloVersion = '2.3.1'
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
maven {
url 'https://oss.jfrog.org/artifactory/oss-snapshot-local'
}
maven {
url "https://plugins.gradle.org/m2/"
}
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.google.gms:google-services:4.3.10'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath("com.apollographql.apollo:apollo-gradle-plugin:2.5.11")
classpath "io.realm:realm-gradle-plugin:10.16.1"
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2'
classpath "com.google.android.libraries.mapsplatform.secrets-gradle-plugin:secrets-gradle-plugin:2.0.1"
classpath 'com.google.dagger:hilt-android-gradle-plugin:2.41'
}
}
allprojects {
repositories {
google()
maven { url 'https://oss.sonatype.org/content/groups/public' }
maven { url 'https://jitpack.io' }
maven { url 'https://staging.dev.medicmobile.org/_couch/maven-repo' }
maven {
url 'https://oss.jfrog.org/artifactory/oss-snapshot-local'
}
maven {
url "https://plugins.gradle.org/m2/"
}
jcenter()
}
}
configurations.all {
transitive = true
resolutionStrategy {
force 'org.hamcrest:hamcrest-core:1.3'
}
}
allprojects {
configurations.all {
resolutionStrategy {
force 'org.xerial:sqlite-jdbc:3.34.0'
}
}
}
task checkAll(type: GradleBuild) {
tasks = ['checkCode', 'checkTests']
}
task checkCode(type: GradleBuild) {
tasks = ['pmd', 'checkstyle', 'lintDebug', 'spotbugs']
}
task checkTests(type: GradleBuild) {
tasks = ['testDebugUnitTest', 'connectedDebugAndroidTest']
}
ext {
leakyCanaryVersion = '1.5.4'
daggerVersion = '2.35.1'
rxLifecycleVersion = '2.2.1'
workManagerVersion = "1.0.0-alpha10"
okhttp3Version = '4.9.0'
lifecycle_version = "2.2.0"
arch_version = "2.1.0"
fragmentVersion = '1.3.4'
}
task clean(type: Delete) {
delete rootProject.buildDir
}