All Classes and Interfaces
Class
Description
The super class of all Baseline plugins.
A Plugin that configures a project with all Baseline settings.
Configures the Gradle "checkstyle" task with Baseline settings.
This plugin is similar to https://github.com/nebula-plugins/gradle-lint-plugin/wiki/Duplicate-Classes-Rule but goes
one step further and actually hashes any identically named classfiles to figure out if they're completely
identical (and therefore safely interchangeable).
Validates that java projects declare exactly the dependencies they rely on, no more and no less.
Applies the
-Xmaxwarns and -Xmaxerrs compiler options with a very large
limit to avoid truncating failure info.Increases the default
JavaCompile task heap from 512m to 2g.Applies the
-parameters compiler option to include additional metadata for reflection on method parameters.Extension named
javaVersion used to set the
target and runtime java versions used for a single project.Extension named
javaVersions on the root project used to configure all java modules
with consistent java toolchains.This exists to keep the setters on the 'BaselineJavaVersionsExtension' in sync with those on
'SubprojectBaselineJavaVersionsExtension'.
This plugin reuses the
Add-Exports manifest entry defined in
JEP-261 to propagate and collect required exports
from transitive dependencies, and applies them to compilation (for annotation processors) and
execution (tests, javaExec, etc) for runtime dependencies.Extension to configure
--add-exports [VALUE]=ALL-UNNAMED for the current module.Prefer project modules that are part of this build over external modules on dependency resolution.
Sensible defaults so that all Jar, Tar, Zip tasks can be deterministically reproduced.
Increases the default
test task heap from 512m to 2g.By default, Gradle will infer sourceCompat based on whatever JVM is currently being used to evaluate the
build.gradle files.
Augments
JavaLanguageVersion with whether --enable-preview should be used or not.