mirror of https://gitee.com/makejava/EasyCode.git
设定插件依赖关系
This commit is contained in:
parent
b01738c9c8
commit
00972feb73
|
@ -4,10 +4,6 @@ buildscript {
|
|||
maven { url 'https://plugins.gradle.org/m2/' }
|
||||
maven { url 'https://oss.sonatype.org/content/repositories/releases/' }
|
||||
}
|
||||
// https://github.com/JetBrains/gradle-intellij-plugin/ 关注开发插件版本
|
||||
dependencies {
|
||||
classpath "org.jetbrains.intellij.plugins:gradle-intellij-plugin:0.7.3"
|
||||
}
|
||||
}
|
||||
|
||||
//2.1 插件配置
|
||||
|
@ -47,7 +43,7 @@ intellij {
|
|||
// 各种IDEA版本去这里找
|
||||
// https://www.jetbrains.com/intellij-repository/releases
|
||||
// 依赖的插件
|
||||
plugins = ['java', 'DatabaseTools']
|
||||
plugins = ['com.intellij.java', 'com.intellij.database']
|
||||
//Disables updating since-build attribute in plugin.xml
|
||||
updateSinceUntilBuild false
|
||||
downloadSources = true
|
||||
|
|
|
@ -258,8 +258,9 @@
|
|||
<!-- uncomment to enable plugin in all products
|
||||
|
||||
-->
|
||||
<!--必须为企业版-->
|
||||
<depends>com.intellij.modules.lang</depends>
|
||||
<depends>com.intellij.modules.platform</depends>
|
||||
<!--通过类生成代码,需要依赖Java插件-->
|
||||
<depends>com.intellij.modules.java</depends>
|
||||
<!--必须依赖Database Tool插件-->
|
||||
<depends>com.intellij.database</depends>
|
||||
<depends optional="true" config-file="easycode-java.xml">com.intellij.modules.java</depends>
|
||||
|
|
Loading…
Reference in New Issue