-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
58 lines (49 loc) · 1.23 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
buildscript {
repositories {
mavenCentral()
google()
}
dependencies {
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.24.14"
}
}
plugins {
id 'org.jetbrains.kotlin.jvm' version "$kotlinVersion"
id "io.gitlab.arturbosch.detekt" version "1.22.0"
}
apply plugin: 'idea'
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
group 'io.kabu'
version '0.25.0'
allprojects {
apply from: "$rootDir/detekt/detekt.gradle"
repositories {
mavenCentral()
google()
}
kotlin {
jvmToolchain(8)
}
}
apply from: 'dependencies.gradle'
def configurePublishing(Project project) {
project.apply from: file('scripts/publish.gradle')
}
task detektProjectBaseline(type: io.gitlab.arturbosch.detekt.DetektCreateBaselineTask) {
description = "Overrides current baseline."
ignoreFailures.set(true)
parallel.set(true)
buildUponDefaultConfig.set(false)
setSource(files(rootDir))
config.setFrom(files("$rootDir/detekt/detekt-config-v1.yml"))
baseline.set(file("$rootDir/detekt/detekt-baseline.xml"))
include("**/*.kt")
include("**/*.kts")
exclude("**/resources/**")
exclude("**/build/**")
}