Provide a bill of materials (BOM)
See original GitHub issueI figured that the number of Mockito artifacts grows, so it might be useful to provide a BOM (Bill Of Materials) that lists all versions of all artifacts in a central place.
Such a thing could then be consumed in a Gradle multi project build through
// my.platform.project:test
plugins {
id("java-platform")
}
dependencies {
api(platform("org.mockito:mockito-bom:$someVersion"))
}
and this could be referenced in individual module files like so:
dependencies {
testImplementation(platform("my.platform.project:test"))
testImplementation("org.mockito:mockito-core")
testImplementation("org.mockito:mockito-junit-jupiter")
}
Creating and publishing such a BOM should be fairly easy. Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:16 (15 by maintainers)
Top Results From Across the Web
Bill of Materials (BOM) Meaning, Purpose, and Types
A bill of materials (BOM) is a centralized source of information containing a list of items used to manufacture a product and the...
Read more >What is a Bill of Materials (BOM) and How Do You Create One?
A bill of materials (BOM) is a comprehensive list of parts, items, assemblies, subassemblies, intermediate assemblies, documents, drawings, and other materials ...
Read more >What Is a Bill of Materials (BOM)? Expert Guide & Tips | NetSuite
A bill of materials (BOM) is a structured list identifying all materials and components required to construct a product, as well as the ......
Read more >What is a bill of materials (BOM)? - TechTarget
A bill of materials lists the components and assemblies required to manufacture a product. Learn how to create an effective BOM and the...
Read more >Bill of materials - Wikipedia
A bill of materials or product structure (sometimes bill of material, BOM or associated list) is a list of the raw materials, sub-assemblies,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Confused, https://github.com/mockito/mockito/issues/2321#issuecomment-859434276
but there is unlisted earlier
Is
mockito-core
not managed intentionally?Mockito 4.3.1 is being published to Maven Central and should be available later today: https://github.com/mockito/mockito/actions/runs/1746133222