Skip to content

Commit

Permalink
Prepare for release 1.15.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Palmer committed Aug 9, 2023
1 parent f1d79e6 commit 0b9149c
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 28 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ https://developer.android.com/studio/command-line/bundletool

## Releases

Latest release: [1.15.3](https://github.com/google/bundletool/releases)
Latest release: [1.15.4](https://github.com/google/bundletool/releases)
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
release_version = 1.15.3
release_version = 1.15.4
Original file line number Diff line number Diff line change
Expand Up @@ -306,12 +306,6 @@ public ManifestEditor setSplitsRequired(boolean value) {
setMetadataValue(
META_DATA_KEY_SPLITS_REQUIRED,
createAndroidAttribute("value", VALUE_RESOURCE_ID).setValueAsBoolean(value));

manifestElement
.getOrCreateAndroidAttribute(
IS_SPLIT_REQUIRED_ATTRIBUTE_NAME, IS_SPLIT_REQUIRED_RESOURCE_ID)
.setValueAsBoolean(value);

return setApplcationAttributeBoolean(
IS_SPLIT_REQUIRED_ATTRIBUTE_NAME, IS_SPLIT_REQUIRED_RESOURCE_ID, value);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/
public final class BundleToolVersion {

private static final String CURRENT_VERSION = "1.15.3";
private static final String CURRENT_VERSION = "1.15.4";


/** Returns the version of BundleTool being run. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
import com.android.tools.build.bundletool.model.manifestelements.Provider;
import com.android.tools.build.bundletool.model.manifestelements.Receiver;
import com.android.tools.build.bundletool.model.utils.xmlproto.XmlProtoAttribute;
import com.android.tools.build.bundletool.model.utils.xmlproto.XmlProtoAttributeBuilder;
import com.android.tools.build.bundletool.model.utils.xmlproto.XmlProtoElement;
import com.android.tools.build.bundletool.model.utils.xmlproto.XmlProtoElementBuilder;
import com.google.common.collect.ImmutableList;
Expand Down Expand Up @@ -474,12 +473,6 @@ public void setSplitsRequired() throws Exception {
IS_SPLIT_REQUIRED_ATTRIBUTE_NAME,
IS_SPLIT_REQUIRED_RESOURCE_ID,
true));
assertThat(editedManifest.getManifestElement().getAttributes())
.containsExactly(
XmlProtoAttributeBuilder.createAndroidAttribute(
IS_SPLIT_REQUIRED_ATTRIBUTE_NAME, IS_SPLIT_REQUIRED_RESOURCE_ID)
.setValueAsBoolean(true)
.build());
}

@Test
Expand All @@ -504,12 +497,6 @@ public void setSplitsRequired_idempotent() throws Exception {
IS_SPLIT_REQUIRED_ATTRIBUTE_NAME,
IS_SPLIT_REQUIRED_RESOURCE_ID,
true));
assertThat(editedManifest.getManifestElement().getAttributes())
.containsExactly(
XmlProtoAttributeBuilder.createAndroidAttribute(
IS_SPLIT_REQUIRED_ATTRIBUTE_NAME, IS_SPLIT_REQUIRED_RESOURCE_ID)
.setValueAsBoolean(true)
.build());
}

@Test
Expand All @@ -534,12 +521,6 @@ public void setSplitsRequired_lastInvocationWins() throws Exception {
IS_SPLIT_REQUIRED_ATTRIBUTE_NAME,
IS_SPLIT_REQUIRED_RESOURCE_ID,
false));
assertThat(editedManifest.getManifestElement().getAttributes())
.containsExactly(
XmlProtoAttributeBuilder.createAndroidAttribute(
IS_SPLIT_REQUIRED_ATTRIBUTE_NAME, IS_SPLIT_REQUIRED_RESOURCE_ID)
.setValueAsBoolean(false)
.build());
}

@Test
Expand Down

0 comments on commit 0b9149c

Please sign in to comment.