Releases: tylerbwong/metalava-gradle
Releases · tylerbwong/metalava-gradle
0.4.0-alpha02
Bug Fixes
- Fixed an issue with multiple plugin types causing incomplete source sets (#106)
Internal Library Updates
- Updated to Kotlin 2.0.21
- Updated Android Gradle Plugin to 8.7.1
- Updated Gradle to 8.10.2
0.4.0-alpha01
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. SeeadditionalSourceSets
andexcludedSourceSets
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 themetalavaGenerateSignature
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
0.3.5
Library Updates
- Updated Kotlin to 1.9.20
- Updated Android Gradle Plugin to 8.1.3
There was an issue uploading 0.3.4. Please use this version instead.
0.3.4
Library Updates
- Updated Kotlin to 1.9.10
- Updated Android Gradle Plugin to 8.1.2
0.3.3
0.3.2
0.3.1
0.3.0
Breaking Changes
- All extension properties now support lazy configuration through Gradle's
Provider
APIs MetalavaPlugin
is nowinternal
and cannot be referenced directly- The legacy plugin application maven coordinates are now
me.tylerbwong.gradle.metalava:plugin:<version>
New Features
- Adds configuration cache support and migrates to the Gradle Worker API (#35)
- Adds support for generating keep files (#41)
- Adds support for configuring
hiddenAnnotations
(#36) - Updates the default Metalava version to 1.0.0-alpha06
Infrastructure
- Kotlin 1.7.10
- Android Gradle Plugin 7.3.0
- Gradle Wrapper 7.5.1
0.2.3
Bug Fixes
- Fixes an issue with release type being removed from the check compatibility flag due to this change in Metalava 1.0.0-alpha05