-
-
Notifications
You must be signed in to change notification settings - Fork 495
/
build.gradle
67 lines (58 loc) · 1.85 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
apply from: 'configurations.gradle'
ext {
release = [
versionName: "5.7.0",
versionCode: 5070
]
setup = [
gradleTools: '7.3.0',
compileSdk : 33,
buildTools : "33.0.0",
minSdk : 16,
targetSdk : 33
]
versions = [
recyclerView : '1.2.1',
material : '1.6.1',
appcompat : '1.5.1',
drawerlayout : '1.1.0',
constraintLayout: '2.1.0',
cardview : '1.0.0',
kotlin : '1.7.20',
iconics : '5.2.8',
materialdrawer : '9.0.1',
aboutlib : '10.5.0',
roboelectric : '4.8.2',
detekt : '1.18.1',
paging : "2.1.2",
room : "2.4.3",
lifecycle : "2.3.1"
]
}
repositories {
gradlePluginPortal()
mavenCentral()
google()
}
dependencies {
classpath "com.android.tools.build:gradle:${setup.gradleTools}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:${versions.detekt}"
classpath "com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:${versions.aboutlib}"
}
}
allprojects {
group "com.mikepenz"
repositories {
mavenCentral()
google()
}
}
subprojects {
apply from: "$rootDir/detekt.gradle"
dependencies {
detektPlugins "io.gitlab.arturbosch.detekt:detekt-formatting:${versions.detekt}"
}
}