-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
50 lines (42 loc) · 1.29 KB
/
build.gradle
File metadata and controls
50 lines (42 loc) · 1.29 KB
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
buildscript {
dependencies {
classpath 'org.owasp:dependency-check-gradle'
}
}
plugins {
id 'java'
id "org.owasp.dependencycheck" version "12.2.0"
id "io.freefair.lombok" version "9.2.0"
id "io.github.gradle-nexus.publish-plugin" version "2.0.0"
id "org.sonarqube" version "7.2.3.7755"
}
group 'ee.bitweb'
version '0.1.0'
java {
sourceCompatibility = '17'
}
tasks.withType(JavaCompile).configureEach {
options.compilerArgs.add("-parameters")
}
apply from: "test.gradle"
apply from: "library.gradle"
repositories {
mavenCentral()
}
dependencies {
implementation 'tools.jackson.core:jackson-databind:3.0.1'
implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0'
implementation 'com.auth0:java-jwt:4.5.0'
testImplementation platform('org.junit:junit-bom:5.14.3')
testImplementation 'org.junit.jupiter:junit-jupiter'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
sonar {
properties {
property "sonar.projectKey", "BitWeb_montonio-java-sdk"
property "sonar.organization", "bitweb-oss"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.coverage.jacoco.xmlReportPaths",
"${layout.buildDirectory.get()}/reports/jacoco/test/jacocoTestReport.xml"
}
}