com.applitools.utils.ClassVersionGetter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-sdk-core-java5 Show documentation
Show all versions of eyes-sdk-core-java5 Show documentation
Applitools Eyes SDK base for Java
package com.applitools.utils;
import java.io.IOException;
import java.util.Properties;
public class ClassVersionGetter {
private static final Properties properties = new Properties();
static {
try {
properties.load(ClassVersionGetter.class.getClassLoader().getResourceAsStream("sdk.version"));
} catch (IOException e) {
e.printStackTrace();
}
}
public static String CURRENT_VERSION = properties.getProperty("applitools_sdk_version");
}