Skip to content

Commit

Permalink
chore: update build and settings of gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
majadlymhmd committed Oct 5, 2023
1 parent cff651d commit d491611
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 25 deletions.
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
plugins {
`java-library`
id("application")
id("com.github.johnrengelman.shadow") version "7.1.2"
alias(libs.plugins.shadow)
}

val groupId: String by project
val edcVersion: String by project

dependencies {
implementation("$groupId:control-plane-core:$edcVersion")
implementation(libs.edc.control.plane.core)

implementation("$groupId:configuration-filesystem:$edcVersion")
implementation("$groupId:iam-mock:$edcVersion")
implementation(libs.edc.configuration.filesystem)
implementation(libs.edc.iam.mock)

implementation("$groupId:management-api:$edcVersion")
implementation(libs.edc.management.api)

implementation("$groupId:ids:$edcVersion")
implementation(libs.edc.ids)
}

application {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@ plugins {
`java-test-fixtures`
}

val groupId: String by project
val edcVersion: String by project

dependencies {
testImplementation("$groupId:junit:$edcVersion")
testImplementation(libs.edc.junit)

testFixturesImplementation("$groupId:junit:$edcVersion")
testFixturesImplementation(libs.edc.junit)
testFixturesImplementation(libs.restAssured)
testFixturesImplementation(libs.awaitility)
testFixturesImplementation(libs.assertj)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
plugins {
`java-library`
id("application")
id("com.github.johnrengelman.shadow") version "7.1.2"
alias(libs.plugins.shadow)
}

val groupId: String by project
val edcVersion: String by project

dependencies {
implementation("$groupId:control-plane-core:$edcVersion")
implementation(libs.edc.control.plane.core)

implementation("$groupId:configuration-filesystem:$edcVersion")
implementation("$groupId:iam-mock:$edcVersion")
implementation(libs.edc.configuration.filesystem)
implementation(libs.edc.iam.mock)

implementation("$groupId:ids:$edcVersion")
implementation(libs.edc.dsp)

implementation(project(":policy:policy-01-policy-enforcement:policy-functions"))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@ plugins {
id("application")
}

val groupId: String by project
val edcVersion: String by project

dependencies {
api("$groupId:data-plane-spi:$edcVersion")
api(libs.edc.data.plane.spi)

implementation("$groupId:control-plane-core:$edcVersion")
implementation(libs.edc.control.plane.core)

}

0 comments on commit d491611

Please sign in to comment.