-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
build.gradle
87 lines (79 loc) · 2.04 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
apply plugin: 'com.vanniktech.code.quality.tools'
buildscript {
ext.versions = [
minSdk: 14,
compileSdk: 33,
targetSdk: 33,
autoValue: '1.10.4',
espresso: '3.5.1',
]
ext.deps = [
'rx': [
'java': 'io.reactivex.rxjava2:rxjava:2.2.21',
],
'autoValue': [
'compiler': "com.google.auto.value:auto-value:${versions.autoValue}",
'runtime': "com.google.auto.value:auto-value-annotations:${versions.autoValue}",
],
'support': [
'appCompat': "androidx.appcompat:appcompat:1.6.1",
'annotation': "androidx.annotation:annotation:1.7.1",
'test': [
'espresso': [
'core': "androidx.test.espresso:espresso-core:${versions.espresso}",
'web': "androidx.test.espresso:espresso-web:${versions.espresso}",
'intents': "androidx.test.espresso:espresso-intents:${versions.espresso}",
],
'junitExt': "androidx.test.ext:junit:1.1.5",
'runner': "androidx.test:runner:1.5.2",
'rules': "androidx.test:rules:1.5.0",
'uiautomator': 'androidx.test.uiautomator:uiautomator:2.3.0',
],
],
'test': [
'mockito': 'org.mockito:mockito-core:5.11.0',
'junit': 'junit:junit:4.13.2',
'assertj3': 'org.assertj:assertj-core:3.25.3',
],
]
repositories {
mavenCentral()
google()
gradlePluginPortal()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.7.3'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0'
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:2.0.0'
classpath 'com.vanniktech:gradle-code-quality-tools-plugin:0.24.0'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.30.0'
classpath 'app.cash.licensee:licensee-gradle-plugin:1.12.0'
}
}
codeQualityTools {
checkstyle {
enabled = false
}
pmd {
enabled = false
}
cpd {
enabled = false
}
lint {
textReport = true
}
detekt {
enabled = false
}
ktlint {
version = "1.2.1"
}
}
subprojects {
repositories {
mavenCentral()
google()
jcenter()
}
}