Package org.jenkinsci.gradle.plugins.jpi2.accmod
package org.jenkinsci.gradle.plugins.jpi2.accmod
-
ClassDescriptionWork action that runs
kohsuke.accmod.Checkeragainst a compiled class directory to enforce@Restrictedaccess-modifier rules.Submits parallelCheckAccesswork items — one per compilation output directory — to enforce@RestrictedAPI access rules fromkohsuke.accmod.Parameters passed to theCheckAccesswork action via Gradle's worker API.Adapts the MavenLoginterface to SLF4J so thatkohsuke.accmod.Checker— which expects Maven logging — can write through Gradle's logging infrastructure.Extracts Gradle project properties that share a common prefix and strips that prefix, making them available as a plain map to the access-modifier checker.Thrown when the access-modifier checker finds usages of@RestrictedAPIs.