library

Checks libraries that are configured in the project.

Configuration options

name

The name of the library. This is a string target.

In IntelliJ, this will be checked against the libraries that are configured as dependency in the module. This can be checked by opening the Project Structure | Modules view and selecting the Dependencies tab.

Example of kinds of names of libraries:

Maven: org.json:json:20160212
Gradle: org.junit.jupiter:junit-jupiter-api:5.6.0
bcpg-jdk15on-1.61

Due to this naming, it is often desired to use the contains or matches properties of the string target instead of the literal is matching.

minVersion

Will restrict matching to libraries that have a version that is the same or higher than this configured value.

The format is freeform and an attempt will be made to compare it with the version of the library, which is either extracted from the jar name/path or a Implementation-Version entry in the jar's manifest.

maxVersion

Will restrict matching to libraries that have a version that is the same or lower than this configured value.

The format is freeform and an attempt will be made to compare it with the version of the library, which is either extracted from the jar name/path or a Implementation-Version entry in the jar's manifest.