-
Notifications
You must be signed in to change notification settings - Fork 127
/
build.gradle
48 lines (44 loc) · 1.36 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
buildscript {
repositories {
google()
jcenter()
}
ext {
compileSdkVersion = 29 as int
buildToolsVersion = '29.0.2'
minSdkVersion = 24 as int
targetSdkVersion = 29 as int
// Lookup the latest here: https://mvnrepository.com/
annotationVersion = '1.0.1'
appCompatVersion = '1.1.0' // https://mvnrepository.com/artifact/androidx.appcompat/appcompat
espressoCoreVersion = '3.2.0'
grgitVersion = '2.1.0'
jodaTimeVersion = '2.10.3'
junitVersion = '4.13'
junitJupiterVersion = '5.6.0'
preferenceVersion = '1.1.0'
testRulesVersion = '1.2.0'
testRunnerVersion = '1.2.0'
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.1'
classpath "org.ajoberstar:grgit:$grgitVersion"
}
// https://github.com/facebook/flipper/issues/146#issuecomment-463667556
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == "androidx") {
if (!requested.name.startsWith("multidex")) {
details.useVersion "${targetSdkVersion}.+"
}
}
}
}
}
allprojects {
repositories {
google()
jcenter()
}
}