com.prezi.pride.PrideVersion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pride-core Show documentation
Show all versions of pride-core Show documentation
Pride manages multiple Gradle modules as a single Gradle project
package com.prezi.pride;
import java.io.IOException;
import java.util.Properties;
public final class PrideVersion {
public static final String VERSION = loadVersion();
private static String loadVersion() {
Properties props = new Properties();
try {
props.load(PrideVersion.class.getResourceAsStream("/version.properties"));
} catch (IOException ex) {
throw new AssertionError(ex);
}
return (String) props.get("application.version");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy