protected static class ByteBuddyPlugin.ConventionConfiguration
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
ConventionConfiguration(org.gradle.api.tasks.SourceSetContainer sourceSets,
org.gradle.api.JavaVersion targetCompatibility)
Creates a new convention configuration.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.gradle.api.tasks.SourceSetContainer |
getSourceSets()
Returns the resolved source set container.
|
protected org.gradle.api.JavaVersion |
getTargetCompatibility()
Returns the target Java version.
|
protected static ByteBuddyPlugin.ConventionConfiguration |
of(org.gradle.api.Project project)
Resolves a convention configuration of the current project.
|
protected ConventionConfiguration(org.gradle.api.tasks.SourceSetContainer sourceSets,
org.gradle.api.JavaVersion targetCompatibility)
sourceSets - The resolved source set container.targetCompatibility - The target Java version.@MaybeNull protected static ByteBuddyPlugin.ConventionConfiguration of(org.gradle.api.Project project)
project - The current Gradle project.null if not configured.protected org.gradle.api.tasks.SourceSetContainer getSourceSets()
protected org.gradle.api.JavaVersion getTargetCompatibility()