Skip to content

Commit

Permalink
feat: use common code from tck-common module
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger committed Nov 26, 2024
1 parent e926c3a commit dca9348
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 93 deletions.

This file was deleted.

This file was deleted.

13 changes: 4 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ plugins {
}

allprojects {
repositories {
mavenCentral()
mavenLocal()
}

apply(plugin = "java-library")
apply(plugin = "checkstyle")
Expand Down Expand Up @@ -65,6 +61,10 @@ allprojects {
testImplementation(rootProject.libs.assertj)
}

}

subprojects {

if (!project.hasProperty("skip.signing")) {
apply(plugin = "signing")
publishing {
Expand All @@ -75,11 +75,6 @@ allprojects {
}
}


}

subprojects {

afterEvaluate {

// register the annotation processor task to all modules that declare a dependency onto the annotation processor,
Expand Down
4 changes: 1 addition & 3 deletions dsp/dsp-contract-negotiation/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.eclipse.dataspacetck.gradle.tasks.GenerateTestPlanTask

/*
* Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
*
Expand All @@ -20,7 +18,7 @@ dependencies {
// this module is included
annotationProcessor(project(":tools"))

implementation(project(":api:core-api"))
implementation(libs.tck.common.api)
implementation(project(":core"))
implementation(project(":dsp:dsp-api"))
testImplementation(project(":dsp:dsp-system"))
Expand Down
5 changes: 5 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,14 @@ jsonapi = "2.0.0"
jupiter = "5.10.3"
okhttp = "4.12.0"
mockito = "5.13.0"
tck = "0.0.1-SNAPSHOT"
titanium = "1.4.1"

[libraries]

# modules from tck-common
tck-common-api = {module = "org.eclipse.dataspacetck:core-api", version.ref = "tck"}

assertj = { module = "org.assertj:assertj-core", version.ref = "assertj" }
awaitility = { module = "org.awaitility:awaitility", version.ref = "awaitility" }
jackson-databind = { module = "com.fasterxml.jackson.core:jackson-databind", version.ref = "jackson" }
Expand Down
24 changes: 23 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,29 @@
*/

rootProject.name = "dsp-tck"

// this is needed to have access to snapshot builds of plugins
pluginManagement {
repositories {
mavenLocal()
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
}
mavenCentral()
gradlePluginPortal()
}
}

dependencyResolutionManagement {
repositories {
mavenLocal()
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
}
mavenCentral()
}
}

include("tools")
include("boot")
include("core")
Expand All @@ -22,4 +45,3 @@ include("dsp:dsp-api")
include("dsp:dsp-system")
include("dsp:dsp-contract-negotiation")
include("dsp:dsp-tck")
include("api:core-api")
2 changes: 1 addition & 1 deletion tools/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ repositories {
}

dependencies {
implementation(project(":api:core-api"))
implementation(libs.tck.common.api)
implementation(libs.markdown.gen)
implementation(libs.plantuml)
}

0 comments on commit dca9348

Please sign in to comment.