From f1d739045387127af01314f0b1fdc14d827d4e3b Mon Sep 17 00:00:00 2001 From: Andreas Schmid Date: Sun, 16 Feb 2020 13:16:50 +0100 Subject: [PATCH] make junit5 aggregator a java-library in order to publish them in correct scope automatically. To get the `checkUploadedArtifacts` not to fail, I have to change the order of namespaces of the expected pom. Note: * I also replaced tabs with spaces in `junit5/aggregator/build.gradle`. But only one additinal line, so no separate commit. Signed-off-by: Andreas Schmid --- archunit-junit/junit5/aggregator/build.gradle | 8 +++++--- build-steps/release/expected/archunit-junit5.pom | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/archunit-junit/junit5/aggregator/build.gradle b/archunit-junit/junit5/aggregator/build.gradle index 072e75f61c..5d42410dd8 100644 --- a/archunit-junit/junit5/aggregator/build.gradle +++ b/archunit-junit/junit5/aggregator/build.gradle @@ -1,13 +1,15 @@ +apply plugin: 'java-library' + ext.moduleName = 'com.tngtech.archunit.junit5' sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 dependencies { - compile(project(":archunit-junit5-api")) - runtime(project(":archunit-junit5-engine")) + api(project(":archunit-junit5-api")) + implementation(project(":archunit-junit5-engine")) } shadowJar { - exclude '**' + exclude '**' } diff --git a/build-steps/release/expected/archunit-junit5.pom b/build-steps/release/expected/archunit-junit5.pom index 0c7320a1c9..7843d3f649 100644 --- a/build-steps/release/expected/archunit-junit5.pom +++ b/build-steps/release/expected/archunit-junit5.pom @@ -1,5 +1,6 @@ - 4.0.0 com.tngtech.archunit