-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
47 lines (38 loc) · 1.04 KB
/
build.gradle.kts
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
import nl.javadude.gradle.plugins.license.LicenseExtension
buildscript {
repositories {
mavenCentral()
gradleScriptKotlin()
maven {
setUrl("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath(kotlinModule("gradle-plugin"))
classpath("info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.1.10")
classpath("gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.13.1")
}
}
apply {
plugin("kotlin")
plugin("info.solidsoft.pitest")
plugin("jacoco")
plugin("com.github.hierynomus.license")
}
group = "com.probablycoding"
version = "0.1-SNAPSHOT"
extensions.getByType<LicenseExtension>(LicenseExtension::class.java).apply {
header = file("$rootDir/HEADER.txt")
ignoreFailures = false
strictCheck = true
mapping("kt", "SLASHSTAR_STYLE")
}
repositories {
mavenCentral()
gradleScriptKotlin()
}
dependencies {
compile(kotlinModule("stdlib"))
testCompile("junit:junit:4.12")
testCompile(kotlinModule("test-junit"))
}