-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.gradle
55 lines (46 loc) · 1.22 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
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"
}
allprojects {
apply plugin: 'checkstyle'
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 {
jvmTarget = JavaVersion.VERSION_1_8
allWarningsAsErrors = true
}
}
}
ext {
minSdkVersion = 24
compileSdkVersion = 34
targetSdkVersion = 34
}
ext {
// libs
wordpressLintVersion = '2.1.0'
// main
androidxCoreVersion = '1.5.0'
androidxRecyclerViewVersion = '1.0.0'
androidxSwipeRefreshLayoutVersion = '1.1.0'
commonsTextVersion = '1.10.0'
eventBusVersion = '3.3.1'
materialVersion = '1.2.1'
// test
androidxTestCoreVersion = '1.4.0'
assertjVersion = '3.11.1'
junitVersion = '4.12'
robolectricVersion = '4.9'
}