mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
code samples: upgrade dependency on Java plugin to ID-notation (IJSDK-796)
This commit is contained in:
parent
49a3432a77
commit
f2156f24a0
@ -101,7 +101,7 @@ Consequently, Java dependencies are expressed differently in `plugin.xml` depend
|
||||
* `plugin.xml` include `<depends>com.intellij.modules.java</depends>`
|
||||
* Syntax for 2019.2 and later releases:
|
||||
* `plugin.xml` _allowable_ alternative include `<depends>com.intellij.java</depends>`
|
||||
* `build.gradle` _required_ to include `intellij { plugins 'java' }`
|
||||
* `build.gradle` _required_ to include `intellij { plugins = ['com.intellij.java'] }`
|
||||
|
||||
## Exploring Module and Plugin APIs
|
||||
Once the [dependency on a module or plugin](/basics/plugin_structure/plugin_dependencies.md) is declared in `plugin.xml`, it's useful to explore the packages and classes available in that dependency.
|
||||
|
@ -27,7 +27,7 @@ test {
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2'
|
||||
plugins = ['java']
|
||||
plugins = ['com.intellij.java']
|
||||
}
|
||||
|
||||
buildSearchableOptions {
|
||||
|
@ -9,7 +9,7 @@
|
||||
<name>SDK: Conditional Operator Converter</name>
|
||||
|
||||
<!-- Product and plugin compatibility requirements -->
|
||||
<depends>com.intellij.modules.java</depends>
|
||||
<depends>com.intellij.java</depends>
|
||||
<depends>com.intellij.modules.platform</depends>
|
||||
|
||||
<!-- Text to display as description on Preferences/Settings | Plugin page -->
|
||||
|
@ -17,7 +17,7 @@ repositories {
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2'
|
||||
plugins = ['java']
|
||||
plugins = ['com.intellij.java']
|
||||
}
|
||||
|
||||
buildSearchableOptions {
|
||||
|
@ -9,7 +9,7 @@
|
||||
<name>SDK: Framework Sample</name>
|
||||
|
||||
<!-- Product and plugin compatibility requirements -->
|
||||
<depends>com.intellij.modules.java</depends>
|
||||
<depends>com.intellij.java</depends>
|
||||
|
||||
<!-- Text to display as description on Preferences/Settings | Plugin page -->
|
||||
<description>
|
||||
|
@ -17,7 +17,7 @@ repositories {
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2'
|
||||
plugins = ['java']
|
||||
plugins = ['com.intellij.java']
|
||||
}
|
||||
|
||||
buildSearchableOptions {
|
||||
|
@ -9,7 +9,7 @@
|
||||
<name>SDK: Project Model Sample</name>
|
||||
|
||||
<!-- Product and plugin compatibility requirements -->
|
||||
<depends>com.intellij.modules.java</depends>
|
||||
<depends>com.intellij.java</depends>
|
||||
|
||||
<!-- Text to display as description on Preferences/Settings | Plugin page -->
|
||||
<description>
|
||||
|
@ -17,7 +17,7 @@ repositories {
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2'
|
||||
plugins = ['java']
|
||||
plugins = ['com.intellij.java']
|
||||
}
|
||||
|
||||
buildSearchableOptions {
|
||||
|
@ -9,7 +9,7 @@
|
||||
<name>SDK: PSI Demo</name>
|
||||
|
||||
<!-- Product and plugin compatibility requirements -->
|
||||
<depends>com.intellij.modules.java</depends>
|
||||
<depends>com.intellij.java</depends>
|
||||
|
||||
<!-- Text to display as description on Preferences/Settings | Plugin page -->
|
||||
<description>
|
||||
|
@ -33,7 +33,7 @@ dependencies {
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = '2020.2'
|
||||
plugins = ['java']
|
||||
plugins = ['com.intellij.java']
|
||||
}
|
||||
|
||||
buildSearchableOptions {
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<!-- Product and plugin compatibility requirements -->
|
||||
<depends>com.intellij.modules.platform</depends>
|
||||
<depends>com.intellij.modules.java</depends>
|
||||
<depends>com.intellij.java</depends>
|
||||
|
||||
<!-- Text to display as description on Preferences/Settings | Plugin page -->
|
||||
<description>
|
||||
|
Loading…
x
Reference in New Issue
Block a user