All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jdroid.gradle.android.AndroidApplicationGradlePluginExtension Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package com.jdroid.gradle.android;

import org.gradle.api.Project;

public class AndroidApplicationGradlePluginExtension extends AndroidGradlePluginExtension {
	
	private boolean isFakeReleaseBuildTypeEnabled;
	private boolean isReleaseBuildTypeDebuggable;
	
	public AndroidApplicationGradlePluginExtension(Project project) {
		super(project);

		isFakeReleaseBuildTypeEnabled = propertyResolver.getBooleanProp("FAKE_RELEASE_BUILD_TYPE_ENABLED", false);
		isReleaseBuildTypeDebuggable = propertyResolver.getBooleanProp("RELEASE_BUILD_TYPE_DEBUGGABLE", false);
	}
	
	public boolean isFakeReleaseBuildTypeEnabled() {
		return isFakeReleaseBuildTypeEnabled;
	}
	
	public void setFakeReleaseBuildTypeEnabled(boolean fakeReleaseBuildTypeEnabled) {
		isFakeReleaseBuildTypeEnabled = fakeReleaseBuildTypeEnabled;
	}
	
	public boolean isReleaseBuildTypeDebuggable() {
		return isReleaseBuildTypeDebuggable;
	}
	
	public void setReleaseBuildTypeDebuggable(boolean releaseBuildTypeDebuggable) {
		isReleaseBuildTypeDebuggable = releaseBuildTypeDebuggable;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy