Skip to content

Commit

Permalink
build: update shadow plugin group id (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt authored Dec 19, 2024
1 parent 69ca3f1 commit 4e8042e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 19 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
3 changes: 3 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,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" }
4 changes: 1 addition & 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 @@ -46,7 +45,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
3 changes: 1 addition & 2 deletions 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 Expand Up @@ -55,7 +55,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

0 comments on commit 4e8042e

Please sign in to comment.