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-core Show documentation
Show all versions of gradle-plugin-core Show documentation
With this Gradle plugin you can run your Android instrumentation tests with emulator.wtf
The newest version!
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) {
String value = GradleCompatFactory.get(project.getGradle()).
getGradleProperty(project, PREFIX + "." + propName);
if (value == null) {
return defaultValue;
}
return Boolean.parseBoolean(value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy