Package org.gradle.api.plugins
Klasse JavaBasePlugin
java.lang.Object
org.gradle.api.plugins.JavaBasePlugin
A Plugin which compiles and tests Java source, and assembles it into a JAR file.
JavaPluginExtension
extension named java that is used to configure all jvm-related components in the project.
It is responsible for configuring the conventions of any SourceSets that are present and used by
(for example) the Java, Groovy, or Kotlin plugins.- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringSet this property to use JARs build from subprojects, instead of the classes folder from these project, on the compile classpath.static final StringTask group name for documentation-related tasks.A list of known artifact types which are known to prevent from publication.static final String -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungJavaBasePlugin(ObjectFactory objectFactory, org.gradle.api.plugins.jvm.internal.JvmPluginServices jvmPluginServices, org.gradle.api.internal.provider.PropertyFactory propertyFactory) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidApply this plugin to the given target object.protected abstract org.gradle.api.plugins.jvm.internal.JvmLanguageUtilities
-
Felddetails
-
CHECK_TASK_NAME
- Siehe auch:
-
VERIFICATION_GROUP
- Siehe auch:
-
BUILD_TASK_NAME
- Siehe auch:
-
BUILD_DEPENDENTS_TASK_NAME
- Siehe auch:
-
BUILD_NEEDED_TASK_NAME
- Siehe auch:
-
DOCUMENTATION_GROUP
Task group name for documentation-related tasks.- Siehe auch:
-
COMPILE_CLASSPATH_PACKAGING_SYSTEM_PROPERTY
Set this property to use JARs build from subprojects, instead of the classes folder from these project, on the compile classpath. The main use case for this is to mitigate performance issues on very large multi-projects building on Windows. Setting this property will cause the 'jar' task of all subprojects in the dependency tree to always run during compilation.- Seit:
- 5.6
- Siehe auch:
-
UNPUBLISHABLE_VARIANT_ARTIFACTS
A list of known artifact types which are known to prevent from publication.- Seit:
- 5.3
-
-
Konstruktordetails
-
JavaBasePlugin
@Inject public JavaBasePlugin(ObjectFactory objectFactory, org.gradle.api.plugins.jvm.internal.JvmPluginServices jvmPluginServices, org.gradle.api.internal.provider.PropertyFactory propertyFactory)
-
-
Methodendetails
-
getJvmLanguageUtils
@Inject protected abstract org.gradle.api.plugins.jvm.internal.JvmLanguageUtilities getJvmLanguageUtils() -
apply
Beschreibung aus Schnittstelle kopiert:PluginApply this plugin to the given target object.
-