Skip to content

Releases: 2BAB/Polyfill

v0.4.0

28 Nov 13:49
Compare
Choose a tag to compare

v0.3.1

15 May 01:59
Compare
Choose a tag to compare
  • Fix: ApplicationVariants#all{} is not called correctly due to Kotlin-dsl + Kotlin Std overrides the all{} of Collection interface.
  • Fix: some CI failures with TestPlugin

v0.3.0

14 May 07:34
Compare
Choose a tag to compare
  • New: This release is compatible with AGP 4.2.0 and built with Gradle 7.0.1.
  • New: Add onClassicVariants{} support to smoothly migrate old project(working with ApplicationVariant/LibraryVariant) to Polyfill base.
  • New: Add new ReflectionKit, CommandLineKit
  • Update: change all TaskListener to TaskAction which is same as the technical term Gradle uses.

v0.2.1

18 Apr 13:21
Compare
Choose a tag to compare
  • fix: manifests inputs should get from corresponding task instead of first() selection

v0.2.0

12 Apr 05:49
Compare
Choose a tag to compare
  • New: This release is compatible with AGP 4.2.0-rc01 (Tested on 7.0.0-alpha14 as well, though it's not supported officially), and built with Gradle 7.0.
  • New: Migrate all jcenter() usage to mavenCentral(), and publish Polyfill libraries to Maven Central as well.
  • New: Project structure update with new composite-builds layout for test-app, add a new ci.yml for tests.
  • Fix: migrate onVariantProperties{} to new onVariant{} with AndroidComponentExtension.
  • Fix: Update BuildToolProvider with new versionedSdkLoader.

v0.1.3

29 Oct 14:12
Compare
Choose a tag to compare
  • New: This release is compatible with AGP 4.2.0-alpha15

v0.1.2

26 Sep 14:48
Compare
Choose a tag to compare
  • New: Use official API to get merged manifest instead of getting from the built-in task directly
  • Fix: When there are build-in library modules, it causes wrong dependency order of manifest merge tasks

v0.1.1

25 Sep 09:28
Compare
Choose a tag to compare
  • New: This release is compatible with AGP 4.2.0-alpha12
  • Fix: Update lambda param VariantProperties to Variant when calling onVariantProperties
  • Fix: The main module polyfill now exports all sub libraries by changing implementation(xxx) to api("xxx")

v0.1.0

20 Sep 09:37
Compare
Choose a tag to compare
  • New: This release is compatible with AGP 4.2.0-alpha11
  • New: Define the basic of Polyfill concepts AGPTaskListener , SelfManageableProvider
  • New: Add a partially implemented module polyfill-arsc which provides the arsc file parser
  • New: Add one fully implemented module polyfill-manifest which provides the manifest merge hook(before & after), manifest binary artifact parser which reuses some data model classes from the polyfill-arsc module mentioned above
  • New: Add some basic providers AGPVersionProvider.kt, BuildToolProvider.kt
  • New: Add the first demo in /test-project which shows how to apply the Polyfill and use it to build up a custom plugin for manifest merge hook