-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
52 lines (46 loc) · 1.48 KB
/
build.gradle.kts
File metadata and controls
52 lines (46 loc) · 1.48 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
51
52
plugins {
id("openapi-parser.java-conventions")
id("openapi-parser.publish-conventions")
alias(libs.plugins.sonar)
}
dependencies {
api(project(":json-schema-validator"))
api(project(":io-interfaces"))
testImplementation(project(":io-jackson"))
testImplementation(project(":io-snakeyaml"))
testImplementation(project(":memory-protocol"))
testImplementation(platform(libs.jackson.bom))
testImplementation(libs.jackson.databind)
testImplementation(libs.jackson.yaml)
testImplementation(libs.jackson.kotlin)
testImplementation(libs.logback)
constraints {
implementation(libs.slf4j) { because("avoid multiple versions") }
testImplementation(libs.slf4j) { because("avoid multiple versions") }
}
}
publishing {
publications {
getByName<MavenPublication>("openapiparser") {
pom {
name.set("openapi-parser")
description.set("OpenAPI 3.0/3.1 parser")
}
}
}
}
sonar {
properties {
property("sonar.projectKey", "openapi-processor_openapi-parser-openapi-parser")
property("sonar.organization", "openapi-processor")
property("sonar.host.url", "https://sonarcloud.io")
// property("sonar.coverage.jacoco.xmlReportPaths", "$buildDir/reports/jacoco/test/jacocoTestReport.xml")
}
}
tasks {
// groovy tests depend on kotlin tests
// compileTestGroovy {
// dependsOn(compileTestKotlin)
// classpath += files(compileTestKotlin)
// }
}