protected static class ByteBuddyPlugin.JavaConventionConfiguration extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
JavaConventionConfiguration(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.JavaConventionConfiguration |
of(Project project)
Resolves a convention configuration of the current project.
|
protected JavaConventionConfiguration(SourceSetContainer sourceSets, JavaVersion targetCompatibility)
sourceSets - The resolved source set container.targetCompatibility - The target Java version.@MaybeNull protected static ByteBuddyPlugin.JavaConventionConfiguration of(Project project)
project - The current Gradle project.null if not configured.protected SourceSetContainer getSourceSets()
protected JavaVersion getTargetCompatibility()