From 00972feb736b4695ebb82aa8b254bec6bb4bb828 Mon Sep 17 00:00:00 2001
From: makejava <1353036300@qq.com>
Date: Thu, 13 Oct 2022 14:37:21 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=AE=9A=E6=8F=92=E4=BB=B6=E4=BE=9D?=
=?UTF-8?q?=E8=B5=96=E5=85=B3=E7=B3=BB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
build.gradle | 6 +-----
src/main/resources/META-INF/plugin.xml | 5 +++--
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/build.gradle b/build.gradle
index 8bae43a..727325b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -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
diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml
index 04a21d4..cdd66bf 100644
--- a/src/main/resources/META-INF/plugin.xml
+++ b/src/main/resources/META-INF/plugin.xml
@@ -258,8 +258,9 @@
-
- com.intellij.modules.lang
+ com.intellij.modules.platform
+
+ com.intellij.modules.java
com.intellij.database
com.intellij.modules.java