-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.gradle.kts
51 lines (44 loc) · 1.06 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
48
49
50
51
plugins {
java
jacoco
id("org.sonarqube") version "3.0"
id("org.jetbrains.intellij") version "0.5.0"
}
group = "ir.msdehghan"
version = "1.0.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("com.fasterxml.jackson.core:jackson-databind:2.11.2")
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
intellij {
version = "2020.1.4"
setPlugins("yaml")
// Instrument if we are not in CI. It will make coverage wrong in tests
instrumentCode = System.getenv("CI") == null
updateSinceUntilBuild = false
}
sonarqube {
properties {
properties["sonar.projectKey"] = "MSDehghan_AnsiblePlugin"
properties["sonar.organization"] = "msdehghan-github"
properties["sonar.host.url"] = "https://sonarcloud.io"
}
}
tasks{
sonarqube.get().dependsOn(jacocoTestReport)
jacocoTestReport {
dependsOn(test)
reports {
xml.isEnabled = true
}
}
buildSearchableOptions {
enabled = false
}
}