forked from mikepenz/FastAdapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
77 lines (67 loc) · 2.25 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
// 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.6.0",
versionCode: 5060
]
setup = [
gradleTools: '7.0.3',
compileSdk : 31,
buildTools : "31.0.0",
minSdk : 16,
targetSdk : 30
]
versions = [
recyclerView : '1.2.1',
material : '1.4.0',
appcompat : '1.4.0',
drawerlayout : '1.1.0',
constraintLayout: '2.1.0',
cardview : '1.0.0',
kotlin : '1.5.31',
iconics : '5.2.8',
materialdrawer : '8.4.5',
aboutlib : '10.0.0-b01',
roboelectric : '4.6.1',
detekt : '1.18.1',
paging : "2.1.2",
room : "2.4.0-beta02",
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()
maven {
// (mp) remove when available on maven center
url "https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven"
content { includeGroup "org.jetbrains.kotlinx" }
}
}
configurations.all {
resolutionStrategy.force "org.jetbrains.kotlinx:kotlinx-html-jvm:0.7.3"
// (mp) remove when available on maven center
}
}
subprojects {
apply from: "$rootDir/detekt.gradle"
dependencies {
detektPlugins "io.gitlab.arturbosch.detekt:detekt-formatting:${versions.detekt}"
}
}