Skip to content

0.4.0-alpha01

Latest
Compare
Choose a tag to compare
@tylerbwong tylerbwong released this 12 Jul 03:16
· 1 commit to main since this release
8b75296

Breaking Changes

  • Removed sourcePaths. Previously, the directory of the source code would have to be passed in. This is no longer the case as the Gradle plugin will now automatically pick up the source sets registered by each active plugin it finds in the target project. See additionalSourceSets and excludedSourceSets for customization.
  • Custom Metalava JAR files should now be specified as a FileCollection.
  • documentation, outputKotlinNulls, outputDefaultValues, includeSignatureVersion have all been removed.

New Features

  • Added apiCompatAnnotations which allows specifying certain annotations that should be considered important for API compatibility (e.g. @Composable).
  • Added additionalSourceSets which allows specifying source sets outside of the default that the plugin will automatically look for based on the active plugins that are registered in the current project.
  • Added excludedSourceSets which allows specifying source sets that should be ignored.
  • Added outputSignatureFileProvider which allows listening to the output of the metalavaGenerateSignature task.
  • Added arguments which allows passing in extra raw Metalava arguments that may be supported in the Metalava binary but not the Gradle plugin.

Other

  • Updated Metalava to 1.0.0-alpha11
  • Default Metalava Java source level is now 17

Internal Library Updates

  • Updated to Kotlin 2.0.0
  • Updated Android Gradle Plugin to 8.5.1
  • Updated Gradle to 8.9
  • Project structure was updated to allow easier testing of plugin updates in included sample projects