Skip to content

Commit

Permalink
build: update shadow plugin group id
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt committed Dec 18, 2024
1 parent 69ca3f1 commit 5f395f1
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 18 deletions.
1 change: 1 addition & 0 deletions e2e-tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dependencies {
testImplementation(libs.testcontainers.junit)
testImplementation(libs.edc.spi.dataplane)
testImplementation(testFixtures(project(":extensions:common:obs:obs-core")))

testCompileOnly(project(":extensions:data-plane:data-plane-obs"))
testCompileOnly(project(":extensions:control-plane:provision-obs"))
testCompileOnly(project(":launchers:e2e-test"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@
import org.eclipse.edc.connector.api.signaling.transform.to.JsonObjectToDataFlowResponseMessageTransformer;
import org.eclipse.edc.jsonld.util.JacksonJsonLd;
import org.eclipse.edc.junit.annotations.EndToEndTest;
import org.eclipse.edc.junit.extensions.EdcClassRuntimesExtension;
import org.eclipse.edc.junit.extensions.EdcRuntimeExtension;
import org.eclipse.edc.junit.extensions.EmbeddedRuntime;
import org.eclipse.edc.junit.extensions.RuntimeExtension;
import org.eclipse.edc.junit.extensions.RuntimePerClassExtension;
import org.eclipse.edc.spi.result.Failure;
import org.eclipse.edc.spi.types.domain.DataAddress;
import org.eclipse.edc.spi.types.domain.transfer.DataFlowStartMessage;
Expand Down Expand Up @@ -80,18 +81,18 @@ public class ObsTransferEndToEndTest {
private static final String PROVIDER_SK = "provider-sk";

@RegisterExtension
static EdcClassRuntimesExtension runtimes = new EdcClassRuntimesExtension(
new EdcRuntimeExtension(
":launchers:e2e-test",
"consumer",
CONSUMER.controlPlaneConfiguration()
),
new EdcRuntimeExtension(
":launchers:e2e-test",
"provider",
PROVIDER.controlPlaneConfiguration()
)
);
static RuntimeExtension consumer = new RuntimePerClassExtension(new EmbeddedRuntime(
"consumer",
CONSUMER.controlPlaneConfiguration(),
":launchers:e2e-test"
));

@RegisterExtension
static RuntimeExtension provider = new RuntimePerClassExtension(new EmbeddedRuntime(
"provider",
PROVIDER.controlPlaneConfiguration(),
":launchers:e2e-test"
));

@Container
private final GenericContainer<?> providerContainer = new GenericContainer<>(MINIO_DOCKER_IMAGE)
Expand Down
4 changes: 4 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ edc-spi-dataplane = { module = "org.eclipse.edc:data-plane-spi", version.ref = "
edc-spi-dataplane-selector = { module = "org.eclipse.edc:data-plane-selector-spi", version.ref = "edc" }
edc-spi-datasource-transaction = { module = "org.eclipse.edc:transaction-datasource-spi", version.ref = "edc" }
edc-spi-policymonitor = { module = "org.eclipse.edc:policy-monitor-spi", version.ref = "edc" }
edc-spi-web = { module = "org.eclipse.edc:web-spi", version.ref = "edc" }
edc-sql-assetindex = { module = "org.eclipse.edc:asset-index-sql", version.ref = "edc" }
edc-sql-contract-definition = { module = "org.eclipse.edc:contract-definition-store-sql", version.ref = "edc" }
edc-sql-contract-negotiation = { module = "org.eclipse.edc:contract-negotiation-store-sql", version.ref = "edc" }
Expand Down Expand Up @@ -91,3 +92,6 @@ huawei-dws-jdbc = { module = "com.huaweicloud.dws:huaweicloud-dws-jdbc", version

[bundles]
edc-dpf = ["edc-dpf-signaling","edc-dpf-signaling-api","edc-dpf-public-api", "edc-dpf-selector-core", "edc-spi-dataplane-selector"]

[plugins]
shadow = { id = "com.gradleup.shadow", version = "8.3.5" }
5 changes: 2 additions & 3 deletions launchers/e2e-test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@ plugins {
// Apply the java-library plugin for API and implementation separation.
`java-library`
id("application")
id("com.github.johnrengelman.shadow") version "8.1.1"
alias(libs.plugins.shadow)
}


dependencies {


runtimeOnly(project(":extensions:control-plane:provision-obs"))
runtimeOnly(project(":extensions:data-plane:data-plane-obs"))

Expand All @@ -32,6 +31,7 @@ dependencies {
runtimeOnly(libs.edc.core.controlplane.apiclient)
runtimeOnly(libs.edc.dpf.iam)
runtimeOnly(libs.edc.dpf.public.api)
runtimeOnly(libs.edc.spi.web)
runtimeOnly(libs.edc.ext.http)
runtimeOnly(libs.edc.jsonld)
runtimeOnly(libs.edc.core.token)
Expand All @@ -46,7 +46,6 @@ dependencies {
}

tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
exclude("**/pom.properties", "**/pom.xm")
mergeServiceFiles()
archiveFileName.set("hds-connector.jar")
}
Expand Down
2 changes: 1 addition & 1 deletion launchers/huawei-cloud-runtime/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ plugins {
// Apply the java-library plugin for API and implementation separation.
`java-library`
id("application")
id("com.github.johnrengelman.shadow") version "8.1.1"
alias(libs.plugins.shadow)
}


Expand Down

0 comments on commit 5f395f1

Please sign in to comment.