io.github.haishen668.filter-excluded-classes
Owner: 看海
This Gradle plugin filters and removes classes annotated with @ExcludeClass, helping you quickly eliminate classes that need to be loaded from the cloud. It scans the compiled classes and deletes any that are marked for exclusion, along with their inner classes.
https://github.com/haishen668/filter-excluded-classes-plugin
Sources: https://github.com/haishen668/filter-excluded-classes-plugin.git
Version 1.0.0 (latest)
Created 02 November 2024.
Add this plugin to your build using the plugins DSL:
plugins {
id("io.github.haishen668.filter-excluded-classes") version "1.0.0"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("io.github.haishen668.filter-excluded-classes:io.github.haishen668.filter-excluded-classes.gradle.plugin:1.0.0") }
It can then be applied in the precompiled script plugin:plugins { id("io.github.haishen668.filter-excluded-classes") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("io.github.haishen668.filter-excluded-classes:io.github.haishen668.filter-excluded-classes.gradle.plugin:1.0.0") } } apply(plugin = "io.github.haishen668.filter-excluded-classes")
- Applying plugins to all subprojects .