forked from eclipse-edc/Connector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
42 lines (36 loc) · 1.05 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
/*
* Copyright (c) 2021 Daimler TSS GmbH
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
*
* Contributors:
* Daimler TSS GmbH - Initial API and Implementation
*
*/
val infoModelVersion: String by project
val rsApi: String by project
val jerseyVersion: String by project
plugins {
`java-library`
id("io.swagger.core.v3.swagger-gradle-plugin")
}
dependencies {
api(project(":spi:common:core-spi"))
api(project(":spi:common:web-spi"))
implementation(project(":core:common:util"))
testImplementation(project(":data-protocols:ids"))
implementation("jakarta.ws.rs:jakarta.ws.rs-api:${rsApi}")
testImplementation(project(":extensions:common:junit"))
}
publishing {
publications {
create<MavenPublication>("observability-api") {
artifactId = "observability-api"
from(components["java"])
}
}
}