mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
Changed warnings
This commit is contained in:
parent
a80c00bd32
commit
cb258083e5
@ -7,6 +7,8 @@ The IntelliJ IDEA Ultimate and Community editions bundle the Gradle and Plugin D
|
||||
The [Getting Started with Gradle](prerequisites.md) page provides a tutorial for creating Gradle-based IntelliJ Platform plugins.
|
||||
It may be useful to review the IntelliJ Platform page, particularly the description of versioning in the [Open Source](/intro/intellij_platform.md#open-source) section.
|
||||
|
||||
> **WARNING** When adding additional repositories to your Gradle build script, make sure to always use HTTPS protocol.
|
||||
|
||||
* bullet list
|
||||
{:toc}
|
||||
|
||||
@ -16,7 +18,7 @@ The plugin adds Gradle tasks for the `build.gradle` file that enable developing
|
||||
The [README](https://github.com/JetBrains/gradle-intellij-plugin/blob/master/README.md) file for the `gradle-intellij-plugin` project is the reference for configuring these tasks.
|
||||
|
||||
When getting started, there are several items to note on the README page:
|
||||
* At the top of the page, the [latest production version](https://github.com/jetbrains/gradle-intellij-plugin#the-latest-version) (e.g. `0.4.8`) of the IntelliJ IDEA Gradle plugin is listed.
|
||||
* At the top of the page, the [latest production version](https://github.com/jetbrains/gradle-intellij-plugin#the-latest-version) of the IntelliJ IDEA Gradle plugin is listed.
|
||||
* Also at the top is the minimum version of Gradle required to support the IntelliJ IDEA Gradle plugin.
|
||||
* The table of extended Gradle [Tasks](https://github.com/jetbrains/gradle-intellij-plugin#tasks) has a succinct description for each task added by the plugin.
|
||||
This documentation will focus on the configuration and use four of those tasks:
|
||||
|
@ -7,12 +7,11 @@ The IntelliJ IDEA Ultimate and Community editions bundle the necessary plugins t
|
||||
These IntelliJ IDEA plugins are _Gradle_ and _Plugin DevKit_, which are enabled by default.
|
||||
To verify these plugins are installed and enabled, see the help section about [Managing Plugins](https://www.jetbrains.com/help/idea/managing-plugins.html).
|
||||
|
||||
> **WARNING** When adding additional repositories to your Gradle build script, make sure to always use HTTPS protocol.
|
||||
|
||||
* bullet list
|
||||
{:toc}
|
||||
|
||||
|
||||
> **WARNING** When adding additional repositories to your Gradle build script, make sure to use HTTPS always.
|
||||
|
||||
## Creating a Gradle-Based IntelliJ Platform Plugin with New Project Wizard
|
||||
IntelliJ IDEA supports creating new Gradle-based IntelliJ Platform plugin projects using the [New Project Wizard](https://www.jetbrains.com/help/idea/gradle.html#project_create_gradle).
|
||||
The Wizard creates all the necessary project files based on a few template inputs.
|
||||
@ -134,7 +133,7 @@ The New Project Wizard produces the `my_gradle_plugin` project `build.gradle` fi
|
||||
#### Plugin Gradle Properties and Plugin Configuration File Elements
|
||||
The Gradle properties `rootProject.name` and `project.group` will not, in general, match the respective `plugin.xml` elements `<name>` and `<id>`.
|
||||
There is no IntelliJ Platform-related reason they should as they serve different functions.
|
||||
The `<name>` element can have nothing to do with the content root, and often is more explanatory than the `rootProject.name`.
|
||||
The `<name>` element is often similar to the content root, but is more explanatory than the `rootProject.name`.
|
||||
The `<id>` is a unique identifier over all plugins, typically a concatenation of the Maven `groupId` and `artifactId`; the default Gradle `project.group` property is only the `groupId`.
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user