com.synedge.oss.client.ClientVersion.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of synedge-java-client Show documentation
Show all versions of synedge-java-client Show documentation
This client allows you to easily connect to the Synedge API with any language running on the JDK
The newest version!
package com.synedge.oss.client;
public class ClientVersion {
static String getVersion() {
InputStream stream = Thread.currentThread().getContextClassLoader().getResourceAsStream('/synedge-java-client-version')
if (stream == null) {
return 'dev'
}
BufferedReader reader = new BufferedReader(new InputStreamReader(stream))
return reader.readLine()
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy