forked from bugsnag/bugsnag-android
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
33 lines (30 loc) · 1011 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
import com.bugsnag.android.Versions
buildscript {
repositories {
google()
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "com.android.tools.build:gradle:${Versions.androidGradlePlugin}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:${Versions.detektPlugin}"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:${Versions.dokkaPlugin}"
classpath "org.jlleitschuh.gradle:ktlint-gradle:${Versions.ktlintPlugin}"
classpath "androidx.benchmark:benchmark-gradle-plugin:${Versions.benchmarkPlugin}"
}
}
plugins {
id "com.github.hierynomus.license" version "0.16.1"
}
allprojects {
repositories {
google()
mavenCentral()
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:all" << "-Werror"
}
}
}