- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
时间: 2023-06-24 16:07:10 浏览: 382
Gradle Core Plugins are a set of plugins that are built into the Gradle build system. These plugins are not in the 'org.gradle' namespace, which is reserved for third-party plugins.
The Gradle Core Plugins include plugins for Java, Groovy, Kotlin, and more, as well as plugins for building and publishing Gradle plugins. These plugins provide essential functionality for building and testing applications, generating documentation, and more.
To use a Gradle Core Plugin, you simply need to apply it in your build script. For example, to use the Java plugin, you can add the following to your build.gradle file:
```
plugins {
id 'java'
}
```
This will apply the Java plugin to your project, which will enable you to compile and test your Java code, as well as generate Javadoc and other documentation.
阅读全文