-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
107 lines (76 loc) · 2.88 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/*
* Copyright (c) 2020, 2021 Microsoft Corporation
*
* 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:
* Microsoft Corporation - initial API and implementation
*
*/
plugins {
`java-library`
id("application")
id("com.github.johnrengelman.shadow") version "8.1.1"
}
repositories {
maven {// while runtime-metamodel dependency is still a snapshot
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
}
maven {
url = uri("https://maven.iais.fraunhofer.de/artifactory/eis-ids-public/")
}
mavenLocal()
mavenCentral()
}
val javaVersion: String by project
val edcGroup: String by project
val edcVersion: String by project
val okHttpVersion: String by project
val rsApi: String by project
val metaModelVersion: String by project
val fraunhoferVersion: String by project
dependencies {
implementation("${edcGroup}:boot:${edcVersion}")
implementation("${edcGroup}:control-plane-core:${edcVersion}")
implementation("${edcGroup}:api-observability:${edcVersion}")
implementation("${edcGroup}:configuration-filesystem:${edcVersion}")
implementation("${edcGroup}:http:${edcVersion}")
implementation("${edcGroup}:dsp:${edcVersion}")
implementation("${edcGroup}:auth-tokenbased:${edcVersion}")
implementation("$edcGroup:management-api:$edcVersion")
//Data plane
//implementation("${edcGroup}:data-plane-transfer-client:${edcVersion}")
implementation("${edcGroup}:data-plane-selector-client:${edcVersion}")
implementation("${edcGroup}:data-plane-selector-core:${edcVersion}")
implementation("${edcGroup}:data-plane-core:${edcVersion}")
implementation("${edcGroup}:iam-mock:${edcVersion}")
implementation("${edcGroup}:vault-hashicorp:${edcVersion}")
implementation("${edcGroup}:data-plane-client:${edcVersion}")
implementation("${edcGroup}:transfer-data-plane:${edcVersion}")
//Ionos Extension
implementation(project(":edc-ionos-extension:provision-ionos-s3"))
implementation(project(":edc-ionos-extension:data-plane-ionos-s3"))
testImplementation ("${edcGroup}:junit:${edcVersion}")
implementation("de.fraunhofer.iais.eis.ids.infomodel:java:${fraunhoferVersion}")
//Logging
implementation("${edcGroup}:monitor-jdk-logger:${edcVersion}")
}
repositories {
mavenLocal()
mavenCentral()
maven {// while runtime-metamodel dependency is still a snapshot
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
}
}
application {
mainClass.set("org.eclipse.edc.boot.system.runtime.BaseRuntime")
}
tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
exclude("**/pom.properties", "**/pom.xm")
mergeServiceFiles()
archiveFileName.set("dataspace-connector.jar")
}