|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.builder.internal.BaseConfigImpl
com.android.builder.core.DefaultBuildType
public class DefaultBuildType
Constructor Summary | |
---|---|
DefaultBuildType(java.lang.String name)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getApplicationIdSuffix()
Application id suffix applied to this build type. |
java.lang.String |
getName()
|
int |
getRenderscriptOptimLevel()
Optimization level to use by the renderscript compiler. |
com.android.builder.model.SigningConfig |
getSigningConfig()
Sets the signing configuration. |
java.lang.String |
getVersionNameSuffix()
Version name suffix. |
int |
hashCode()
|
DefaultBuildType |
initWith(DefaultBuildType that)
|
boolean |
isDebuggable()
Whether this build type should generate a debuggable apk. |
boolean |
isEmbedMicroApp()
|
boolean |
isJniDebuggable()
Whether this build type is configured to generate an APK with debuggable native code. |
boolean |
isMinifyEnabled()
Whether Minify is enabled for this build type. |
boolean |
isPseudoLocalesEnabled()
|
boolean |
isRenderscriptDebuggable()
Whether the build type is configured to generate an apk with debuggable RenderScript code. |
boolean |
isTestCoverageEnabled()
|
boolean |
isZipAlignEnabled()
Whether zipalign is enabled for this build type. |
com.android.builder.model.BuildType |
setApplicationIdSuffix(java.lang.String applicationIdSuffix)
Application id suffix applied to this build type. |
com.android.builder.model.BuildType |
setDebuggable(boolean debuggable)
Whether this build type should generate a debuggable apk. |
void |
setEmbedMicroApp(boolean embedMicroApp)
|
com.android.builder.model.BuildType |
setJniDebuggable(boolean jniDebugBuild)
Whether this build type is configured to generate an APK with debuggable native code. |
com.android.builder.model.BuildType |
setMinifyEnabled(boolean enabled)
Whether Minify is enabled for this build type. |
void |
setPseudoLocalesEnabled(boolean pseudoLocalesEnabled)
|
com.android.builder.model.BuildType |
setRenderscriptDebuggable(boolean renderscriptDebugBuild)
Whether the build type is configured to generate an apk with debuggable RenderScript code. |
void |
setRenderscriptOptimLevel(int renderscriptOptimLevel)
Optimization level to use by the renderscript compiler. |
com.android.builder.model.BuildType |
setSigningConfig(com.android.builder.model.SigningConfig signingConfig)
Sets the signing configuration. |
void |
setTestCoverageEnabled(boolean testCoverageEnabled)
|
com.android.builder.model.BuildType |
setVersionNameSuffix(java.lang.String versionNameSuffix)
Version name suffix. |
com.android.builder.model.BuildType |
setZipAlignEnabled(boolean zipAlign)
Whether zipalign is enabled for this build type. |
java.lang.String |
toString()
|
Methods inherited from class com.android.builder.internal.BaseConfigImpl |
---|
_initWith, addBuildConfigField, addBuildConfigFields, addManifestPlaceHolders, addResValue, addResValues, getBuildConfigFields, getConsumerProguardFiles, getManifestPlaceholders, getMultiDexEnabled, getMultiDexKeepFile, getMultiDexKeepProguard, getProguardFiles, getResValues, setManifestPlaceholders, setMultiDexEnabled, setMultiDexKeepFile, setMultiDexKeepProguard |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.android.builder.model.BaseConfig |
---|
getBuildConfigFields, getConsumerProguardFiles, getManifestPlaceholders, getMultiDexEnabled, getMultiDexKeepFile, getMultiDexKeepProguard, getProguardFiles, getResValues |
Constructor Detail |
---|
public DefaultBuildType(@NonNull java.lang.String name)
Method Detail |
---|
public DefaultBuildType initWith(DefaultBuildType that)
@NonNull public java.lang.String getName()
getName
in interface com.android.builder.model.BaseConfig
getName
in interface com.android.builder.model.BuildType
@NonNull public com.android.builder.model.BuildType setDebuggable(boolean debuggable)
public boolean isDebuggable()
isDebuggable
in interface com.android.builder.model.BuildType
public void setTestCoverageEnabled(boolean testCoverageEnabled)
public boolean isTestCoverageEnabled()
isTestCoverageEnabled
in interface com.android.builder.model.BuildType
public void setPseudoLocalesEnabled(boolean pseudoLocalesEnabled)
public boolean isPseudoLocalesEnabled()
isPseudoLocalesEnabled
in interface com.android.builder.model.BuildType
@NonNull public com.android.builder.model.BuildType setJniDebuggable(boolean jniDebugBuild)
public boolean isJniDebuggable()
isJniDebuggable
in interface com.android.builder.model.BuildType
public boolean isRenderscriptDebuggable()
isRenderscriptDebuggable
in interface com.android.builder.model.BuildType
public com.android.builder.model.BuildType setRenderscriptDebuggable(boolean renderscriptDebugBuild)
public int getRenderscriptOptimLevel()
getRenderscriptOptimLevel
in interface com.android.builder.model.BuildType
public void setRenderscriptOptimLevel(int renderscriptOptimLevel)
@NonNull public com.android.builder.model.BuildType setApplicationIdSuffix(@Nullable java.lang.String applicationIdSuffix)
@Nullable public java.lang.String getApplicationIdSuffix()
getApplicationIdSuffix
in interface com.android.builder.model.BuildType
@NonNull public com.android.builder.model.BuildType setVersionNameSuffix(@Nullable java.lang.String versionNameSuffix)
@Nullable public java.lang.String getVersionNameSuffix()
getVersionNameSuffix
in interface com.android.builder.model.BuildType
@NonNull public com.android.builder.model.BuildType setMinifyEnabled(boolean enabled)
public boolean isMinifyEnabled()
isMinifyEnabled
in interface com.android.builder.model.BuildType
@NonNull public com.android.builder.model.BuildType setZipAlignEnabled(boolean zipAlign)
public boolean isZipAlignEnabled()
isZipAlignEnabled
in interface com.android.builder.model.BuildType
@NonNull public com.android.builder.model.BuildType setSigningConfig(@Nullable com.android.builder.model.SigningConfig signingConfig)
signingConfig signingConfigs.myConfig
@Nullable public com.android.builder.model.SigningConfig getSigningConfig()
signingConfig signingConfigs.myConfig
getSigningConfig
in interface com.android.builder.model.BuildType
public boolean isEmbedMicroApp()
isEmbedMicroApp
in interface com.android.builder.model.BuildType
public void setEmbedMicroApp(boolean embedMicroApp)
public boolean equals(java.lang.Object o)
equals
in class com.android.builder.internal.BaseConfigImpl
public int hashCode()
hashCode
in class com.android.builder.internal.BaseConfigImpl
@NonNull public java.lang.String toString()
toString
in class com.android.builder.internal.BaseConfigImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |