Skip to content

Commit

Permalink
make junit5 aggregator a java-library
Browse files Browse the repository at this point in the history
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 <service@aaschmid.de>
  • Loading branch information
aaschmid authored and codecholeric committed Feb 29, 2020
1 parent cf01860 commit f1d7390
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions archunit-junit/junit5/aggregator/build.gradle
Original file line number Diff line number Diff line change
@@ -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 '**'
}
3 changes: 2 additions & 1 deletion build-steps/release/expected/archunit-junit5.pom
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.tngtech.archunit</groupId>
Expand Down

0 comments on commit f1d7390

Please sign in to comment.