wtf.emulator.data.DeviceSpec 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.data;
import com.google.auto.value.AutoValue;
import com.google.gson.Gson;
import com.google.gson.TypeAdapter;
@AutoValue public abstract class DeviceSpec {
public abstract String model();
public abstract int api();
public abstract GpuMode gpuMode();
public static Builder builder() {
return new AutoValue_DeviceSpec.Builder();
}
@AutoValue.Builder
public abstract static class Builder {
public abstract Builder model(String model);
public abstract Builder api(int api);
public abstract Builder gpuMode(GpuMode gpuMode);
public abstract DeviceSpec build();
}
public static TypeAdapter typeAdapter(Gson gson) {
return new AutoValue_DeviceSpec.GsonTypeAdapter(gson);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy