Skip to content

Commit

Permalink
build: get released edc-build plugin (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt authored Apr 11, 2024
1 parent 9cb381b commit 1331bd8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
13 changes: 5 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,20 @@ plugins {

val edcScmUrl: String by project
val edcScmConnection: String by project
val edcBuildVersion = libs.versions.edc

buildscript {
dependencies {
val edcGradlePluginsVersion: String by project
classpath("org.eclipse.edc.edc-build:org.eclipse.edc.edc-build.gradle.plugin:${edcGradlePluginsVersion}")
classpath(libs.edc.build)
}
}

allprojects {
apply(plugin = "${group}.edc-build")

// let's not generate any reports because that is done from within the GitHub Actions workflow
tasks.withType<Checkstyle> {
reports {
html.required.set(false)
xml.required.set(true)
}
configure<org.eclipse.edc.plugins.autodoc.AutodocExtension> {
processorVersion.set(edcBuildVersion)
outputDirectory.set(project.layout.buildDirectory.asFile)
}

configure<org.eclipse.edc.plugins.edcbuild.extensions.BuildExtension> {
Expand Down
2 changes: 0 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
group=org.eclipse.edc
version=0.6.1-SNAPSHOT

edcGradlePluginsVersion=0.6.1-SNAPSHOT

edcScmUrl=https://github.com/eclipse-edc/Runtime-Metamodel
edcScmConnection=scm:git:git@github.com:eclipse-edc/Runtime-Metamodel.git
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ format.version = "1.1"
[versions]
assertj = "3.25.3"
jackson = "2.17.0"
edc = "0.6.0"
jetbrainsAnnotation = "24.1.0"
junit = "5.10.2"
mockito = "5.11.0"

[libraries]
edc-build = { module = "org.eclipse.edc.edc-build:org.eclipse.edc.edc-build.gradle.plugin", version.ref = "edc" }
jackson-annotations = { module = "com.fasterxml.jackson.core:jackson-annotations", version.ref = "jackson" }
jackson-core = { module = "com.fasterxml.jackson.core:jackson-core", version.ref = "jackson" }
jackson-databind = { module = "com.fasterxml.jackson.core:jackson-databind", version.ref = "jackson" }
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ dependencyResolutionManagement {
mavenCentral()
mavenLocal()
}
}
}

0 comments on commit 1331bd8

Please sign in to comment.