public final class BaselineReleaseCompatibility
extends com.palantir.baseline.plugins.AbstractBaselinePlugin
When using JDK 9+ to compile with a targetCompatibility less than JDK 9, this plugin adds compiler arguments per JEP 247 to explicitly set the target JDK platform API to maintain binary compatibility.
See also Gradle JDK release issue.
| Constructor and Description |
|---|
BaselineReleaseCompatibility() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.gradle.api.Project project) |