All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.prezi.gradle.pride.PrideVersion Maven / Gradle / Ivy

package com.prezi.gradle.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