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