Class VersionExtractor
java.lang.Object
org.springframework.boot.gradle.util.VersionExtractor
Extracts version information for a Class.
- Since:
- 2.3.0
- Author:
- Andy Wilkinson, Scott Frederick
-
Method Summary
-
Method Details
-
forClass
Return the version information for the providedClass
.- Parameters:
cls
- the Class to retrieve the version for- Returns:
- the version, or
null
if a version can not be extracted
-