forked from airbnb/mavericks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (41 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
import com.airbnb.mvrx.AndroidMetaModulePlugin
buildscript {
repositories {
google()
mavenCentral()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:${Versions.gradlePlugin}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}"
classpath "com.google.dagger:hilt-android-gradle-plugin:${Versions.hilt}"
// Upload with:
// ./gradlew clean assemble uploadArchives --no-daemon --no-parallel
classpath "com.vanniktech:gradle-maven-publish-plugin:0.14.2"
// Dokka is needed on classpath for vanniktech publish plugin
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.4.30"
}
configurations.all {
resolutionStrategy {
// Use Proguard 6.2.0
force "net.sf.proguard:proguard-gradle:6.2.0"
}
}
}
plugins {
id("io.gitlab.arturbosch.detekt").version("1.16.0-RC2")
}
apply plugin: 'io.gitlab.arturbosch.detekt'
plugins.apply(AndroidMetaModulePlugin.class)
allprojects {
version = VERSION_NAME
group = GROUP
repositories {
google()
mavenCentral()
jcenter()
}
}
subprojects {
apply from: "$rootDir/detekt.gradle"
}