Package com.palantir.baseline.plugins
package com.palantir.baseline.plugins
-
ClassesClassDescriptionThe 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
-Xmaxwarnsand-Xmaxerrscompiler options with a very large limit to avoid truncating failure info.Increases the defaultJavaCompiletask heap from512mto2g.Applies the-parameterscompiler option to include additional metadata for reflection on method parameters.This plugin reuses theAdd-Exportsmanifest 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.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 defaulttesttask heap from512mto2g.