-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
73 lines (62 loc) · 1.72 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id 'com.android.library' apply false
id 'org.jetbrains.kotlin.android' apply false
id "com.autonomousapps.dependency-analysis"
}
ext {
minSdkVersion = 24
compileSdkVersion = 34
targetSdkVersion = 34
}
ext {
// libs
wordpressLintVersion = '2.1.0'
wordpressUtilsVersion = '3.5.0'
wordpressFluxCVersion = 'trunk-5dfbbc993d2472f6aad2b9f357021506ecfe7152'
gravatarSdkVersion = '0.2.0'
// main
androidxAppCompatVersion = '1.6.1'
androidxCoreVersion = '1.12.0'
androidxConstraintLayoutVersion = '2.0.4'
daggerVersion = '2.47'
glideVersion = '4.12.0'
javaxAnnotationVersion = '10.0-b28'
materialVersion = '1.2.1'
playServicesAuthVersion = '18.1.0'
credentialManagerVersion = '1.2.0'
// test
androidxArchCoreVersion = '2.1.0'
assertjVersion = '3.11.1'
junitVersion = '4.13.2'
mockitoVersion = '2.28.2'
robolectricVersion = '4.9'
}
allprojects {
apply plugin: 'checkstyle'
repositories {
google()
mavenCentral()
maven {
url "https://a8c-libs.s3.amazonaws.com/android/jcenter-mirror"
content {
includeVersion "com.android.volley", "volley", "1.1.1"
}
}
}
if (tasks.findByPath('checkstyle') == null) {
tasks.create(name: 'checkstyle', type: Checkstyle) {
source 'src'
classpath = files()
}
checkstyle {
toolVersion = '8.3'
configFile file("${project.rootDir}/config/checkstyle.xml")
}
}
tasks.withType(KotlinCompile).all {
kotlinOptions {
allWarningsAsErrors = true
}
}
}