Search Gradle plugins

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)

1.0.0

Created 02 November 2024.

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.

Using the plugins DSL:

plugins {
  id("io.github.haishen668.filter-excluded-classes") version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.haishen668:filter-excluded-classes-plugin:1.0.0")
  }
}

apply(plugin = "io.github.haishen668.filter-excluded-classes")

Using the plugins DSL:

plugins {
  id "io.github.haishen668.filter-excluded-classes" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.haishen668:filter-excluded-classes-plugin:1.0.0"
  }
}

apply plugin: "io.github.haishen668.filter-excluded-classes"

Learn how to apply plugins to subprojects