public class VersionUtils extends Object
| Constructor and Description |
|---|
VersionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
readVersionNumber(String resourcePath)
Reads a version number from a properties file on the classpath.
|
public VersionUtils()
public static String readVersionNumber(String resourcePath)
META-INF/gradle/org.apache.tapestry/tapestry-core/pom.properties.
The Gradle generated properties files include the version and possibly others properties.
The resource is located using the Thread's context class loader.resourcePath - the complete path to the resource, including a leading slash.5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.