设定插件依赖关系

This commit is contained in:
makejava 2022-10-13 14:37:21 +08:00
parent b01738c9c8
commit 00972feb73
2 changed files with 4 additions and 7 deletions

View File

@ -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

View File

@ -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>