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 StringReturns a path to a resource in the build target folder.getTargetResource(String path) Returns aResourcein the build target folder.static StringReturns 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 aResourcein 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.
-