Class BuildSystemUtils
java.lang.Object
org.springframework.modulith.docs.util.BuildSystemUtils
Utilities to detect the build system used.
- Since:
- 1.3
- Author:
- Oliver Drotbohm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Returns a path to a resource in the build target folder.getTargetResource
(String path) Returns aResource
in the build target folder.static String
Returns the path to the folder containing test classes.
-
Constructor Details
-
BuildSystemUtils
public BuildSystemUtils()
-
-
Method Details
-
getTarget
Returns a path to a resource in the build target folder.- Parameters:
path
- must not be null or empty.- Returns:
- will never be null.
-
getTargetResource
Returns aResource
in the build target folder.- Parameters:
path
- must not be null or empty.- Returns:
- will never be null.
-
getTestTarget
Returns the path to the folder containing test classes.- Returns:
- will never be null.
-