-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
47 lines (37 loc) · 1.2 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
buildscript {
repositories {
jcenter()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72"
classpath 'org.jmailen.gradle:kotlinter-gradle:2.3.2'
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.9.0"
}
}
allprojects {
apply plugin: 'org.jetbrains.kotlin.jvm'
apply plugin: 'org.jmailen.kotlinter'
apply plugin: 'io.gitlab.arturbosch.detekt'
repositories {
mavenCentral()
jcenter()
maven { url "https://kotlin.bintray.com/kotlinx" }
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation 'com.google.inject:guice:4.2.3'
implementation 'com.google.code.gson:gson:2.8.6'
implementation "org.apache.logging.log4j:log4j-api:2.13.1"
implementation "org.apache.logging.log4j:log4j-core:2.13.1"
implementation "org.flywaydb:flyway-core:6.3.3"
}
kotlinter {
reporters = ['html']
disabledRules = ["no-wildcard-imports"]
}
detekt {
config = files("$rootDir/detekt.yml")
buildUponDefaultConfig = true
}
}