forked from bcgov/queue-management
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
47 lines (41 loc) · 1.07 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
// Uses DSL plugins resolution introduced in Gradle 2.1
plugins {
id "java"
id "jacoco"
id "org.sonarqube" version "2.6.2"
}
sonarqube {
properties {
property "sonar.projectName", "Queue Management"
property "sonar.projectKey", "org.sonarqube:queue-management"
property "sonar.projectBaseDir", "../"
property "sonar.sources", "./api,./frontend/src"
property "sonar.exclusions", "**/test_*.py"
property "sonar.verbose", "true"
property "sourceEncoding", "UTF-8"
property "sonar.python.coveragePlugin","cobertura"
property "sonar.jacoco.reportPath", "${project.buildDir}/jacoco/test.exec"
}
}
allprojects {
ext.baseVersion = "0.1"
ext.snapshotVersion = true
group = "org.sonarqube"
version = "$baseVersion" + (snapshotVersion ? "-SNAPSHOT" : "")
}
test {
ignoreFailures = true
}
dependencies {
testCompile 'junit:junit:4.12'
}
repositories {
repositories {
maven {
url "https://repo1.maven.org/maven2/"
}
maven {
url "https://plugins.gradle.org/m2/"
}
}
}