-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
33 lines (31 loc) · 1.19 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
apply plugin: 'base'
apply plugin: 'org.sonarqube'
archivesBaseName = 'jenkins-fargate-cdk'
buildscript {
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath("org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.4.0.2513")
}
}
sonarqube {
properties {
property "sonar.projectName", "jenkins-fargate-cdk"
property "sonar.projectKey", "DevSecOpsSamples_jenkins-fargate-cdk"
property "sonar.organization", "devsecopssamples"
// property "sonar.host.url", "http://127.0.0.1:9000"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.sourceEncoding", "UTF-8"
property "sonar.sources", "."
property "sonar.python.version", "3.9"
property "sonar.exclusions", "**/node_modules/**, **/cdk.out/**"
property "sonar.links.ci", "https://github.com/DevSecOpsSamples/jenkins-fargate-cdk"
property "sonar.issue.ignore.multicriteria", "e1"
property "sonar.issue.ignore.multicriteria.e1.ruleKey", "typescript:S1848"
property "sonar.issue.ignore.multicriteria.e1.resourceKey", "**/*.ts"
}
}