bundletoolStoreKey function

ContentKey bundletoolStoreKey({
  1. String version = kBundletoolVersion,
  2. String downloadUrl = kBundletoolDownloadUrl,
})

Store key for the bundletool jar (ADR-0013/0028) so oka cache list/gc sees it and OKA_CACHE can share it.

Implementation

ContentKey bundletoolStoreKey({
  String version = kBundletoolVersion,
  String downloadUrl = kBundletoolDownloadUrl,
}) => ContentKey.compute(
  category: 'bundletool',
  name: 'bundletool',
  version: version,
  inputs: [downloadUrl],
  fileName: 'bundletool-all-$version.jar',
);