private final ArrayList<NoCompress> mNoCompressList = new ArrayList<NoCompress>();
private String mProjectLibrariesResName;
private String mProjectLibrariesPackageName;
+ private boolean mNonConstantId;
/**
* Sets the value of the "executable" attribute.
mUseCrunchCache = nocrunch;
}
+ public void setNonConstantId(boolean nonConstantId) {
+ mNonConstantId = nonConstantId;
+ }
+
public void setVersioncode(String versionCode) {
if (versionCode.length() > 0) {
try {
task.createArg().setValue("--no-crunch");
}
+ if (mNonConstantId) {
+ task.createArg().setValue("--non-constant-id");
+ }
+
// force flag
if (mForce) {
task.createArg().setValue("-f");
manifest="AndroidManifest.xml"
androidjar="${android.jar}"
rfolder="${gen.absolute.dir}"
+ nonConstantId="${android.library}"
projectLibrariesResName="project.libraries.res"
projectLibrariesPackageName="project.libraries.package">
<res path="${resource.absolute.dir}" />