forked from googlesamples/easypermissions
-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathbuild.gradle
33 lines (29 loc) · 934 Bytes
/
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
buildscript {
ext.kotlin_version = '1.4.32'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.14.2'
classpath 'com.vanniktech:gradle-android-junit-jacoco-plugin:0.16.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlin_version"
}
}
plugins {
id 'com.diffplug.spotless' version '5.8.2'
id 'io.gitlab.arturbosch.detekt' version '1.0.0'
id 'org.jlleitschuh.gradle.ktlint' version '8.2.0'
id 'org.jetbrains.dokka' version '1.4.20'
}
allprojects {
apply from: rootProject.file('detekt.gradle')
apply from: rootProject.file('ktlint.gradle')
apply from: rootProject.file('spotless.gradle')
repositories {
google()
jcenter()
}
}