MVN

org.kohsuke : access-modifier-suppressions

Maven & Gradle

Oct 06, 2018

Suppression for Access Modifier annotations · This module allows you to enable suppressions for turning off warnings about Restricted APIs. !!!WARNING!!! Classes are marked as @Restricted for a reason and this module should not be used lightly! It implies that the author does not intend for them to be used outside their defined scope and as such they may be changed/modified/removed at any stage without warning. A simple upgrade of the dependency may break your module. Use at your own risk. You should try to not use @Restricted classes in the first place, but if you _must_ use them, this is a less-brutal approach than just disabling the access-modifier-checker entirely

<dependency>
    <groupId>org.kohsuke</groupId>
    <artifactId>access-modifier-suppressions</artifactId>
    <version>1.16</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.kohsuke : access-modifier-suppressions to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.16

All Versions

Choose a version of org.kohsuke : access-modifier-suppressions to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.16
access-modifier-suppressions-1.16

How to add a dependency to Maven

Add the following org.kohsuke : access-modifier-suppressions maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.kohsuke</groupId>
    <artifactId>access-modifier-suppressions</artifactId>
    <version>1.16</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.kohsuke : access-modifier-suppressions gradle dependency to your build.gradle file:

implementation 'org.kohsuke:access-modifier-suppressions:1.16'

Gradle Kotlin DSL: Add the following org.kohsuke : access-modifier-suppressions gradle kotlin dependency to your build.gradle.kts file:

implementation("org.kohsuke:access-modifier-suppressions:1.16")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.kohsuke : access-modifier-suppressions sbt scala dependency to your build.sbt file:

libraryDependencies += "org.kohsuke" % "access-modifier-suppressions" % "1.16"

Advertisement