Search Gradle plugins

dev.vfyjxf.modaccessor

Owner: vfyjxf

A simple gradle plugin to solve the problem of accessing private fields and methods during compile time.

https://github.com/vfyjxf/ModAccessor

Sources: https://github.com/vfyjxf/ModAccessor

Version 1.1.1 (latest)

Created 17 May 2025.

A simple gradle plugin to solve the problem of accessing private fields and methods during compile time.

Add this plugin to your build using the plugins DSL:

plugins {
  id("dev.vfyjxf.modaccessor") version "1.1.1"
}

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("dev.vfyjxf.modaccessor:dev.vfyjxf.modaccessor.gradle.plugin:1.1.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("dev.vfyjxf.modaccessor")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("dev.vfyjxf.modaccessor:dev.vfyjxf.modaccessor.gradle.plugin:1.1.1")
      }
    }
    
    apply(plugin = "dev.vfyjxf.modaccessor")
  • Applying plugins to all subprojects .