Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Co-authored-by: Thomas Keller <thomas.keller-extern@deutschebahn.com>
- Loading branch information
1 parent
80e1cc9
commit d894b54
Showing
4 changed files
with
68 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
plugins { | ||
id('java-platform') | ||
} | ||
|
||
description = "Mockito Bill of Materials (BOM)" | ||
|
||
if (!archivesBaseName.startsWith("mockito-")) { | ||
archivesBaseName = "mockito-" + project.name | ||
} | ||
|
||
apply from: "$rootDir/gradle/java-publication.gradle" | ||
|
||
dependencies { | ||
constraints { | ||
project.rootProject.subprojects.forEach { subproject -> | ||
if (!subproject.name.endsWith("Test") && | ||
!subproject.name.endsWith("-test") && | ||
subproject.name != "bom") { | ||
api(subproject) | ||
} | ||
} | ||
} | ||
} |