![JAR search and dependency download from the Maven repository](/logo.png)
wtf.emulator.EwProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-plugin Show documentation
Show all versions of gradle-plugin Show documentation
With this Gradle plugin you can run your Android instrumentation tests with emulator.wtf
package wtf.emulator;
import org.gradle.api.Project;
public enum EwProperties {
ADD_REPOSITORY("addrepository");
private static final String PREFIX = "wtf.emulator";
private final String propName;
EwProperties(String propName) {
this.propName = propName;
}
public boolean getFlag(Project project, boolean defaultValue) {
Object value = project.findProperty(PREFIX + "." + propName);
if (value == null) {
return defaultValue;
}
return Boolean.parseBoolean(value.toString());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy