Commit 5131f371 authored by duanledexianxianxian's avatar duanledexianxianxian 😁

sync

parent 2c81a7fb
...@@ -13,6 +13,4 @@ allprojects { ...@@ -13,6 +13,4 @@ allprojects {
dependencies { dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12' testCompile group: 'junit', name: 'junit', version: '4.12'
compile group: 'org.projectlombok', name: 'lombok', version: '1.18.10'
compile group: 'com.mchange', name: 'c3p0', version: '0.9.5.4'
} }
buildscript {
dependencies{
classpath group: 'gradle.plugin.org.jetbrains.intellij.plugins', name: 'gradle-intellij-plugin', version: '0.4.10'
}
}
plugins { plugins {
id 'java' id 'java'
id 'org.jetbrains.intellij' version '0.4.10' id 'org.jetbrains.intellij' version '0.4.10'
...@@ -5,13 +11,6 @@ plugins { ...@@ -5,13 +11,6 @@ plugins {
group 'com.duanledexianxianxian' group 'com.duanledexianxianxian'
version '1.0-SNAPSHOT' version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies { dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12' testCompile group: 'junit', name: 'junit', version: '4.12'
} }
......
...@@ -13,6 +13,7 @@ public class HelloAction extends AnAction { ...@@ -13,6 +13,7 @@ public class HelloAction extends AnAction {
super("Hello"); super("Hello");
} }
@Override
public void actionPerformed(AnActionEvent event) { public void actionPerformed(AnActionEvent event) {
Project project = event.getProject(); Project project = event.getProject();
Messages.showMessageDialog(project, "Hello world!", "Greeting", Messages.getInformationIcon()); Messages.showMessageDialog(project, "Hello world!", "Greeting", Messages.getInformationIcon());
......
...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
<!-- uncomment to enable plugin in all products <!-- uncomment to enable plugin in all products
<depends>com.intellij.modules.lang</depends> <depends>com.intellij.modules.lang</depends>
--> -->
<depends>com.intellij.modules.platform</depends>
<depends optional="true">com.intellij.modules.ultimate</depends>
<depends>com.intellij.database</depends>
<extensions defaultExtensionNs="com.intellij"> <extensions defaultExtensionNs="com.intellij">
<!-- Add your extensions here --> <!-- Add your extensions here -->
...@@ -23,5 +26,9 @@ ...@@ -23,5 +26,9 @@
<add-to-group group-id="MainMenu" anchor="last"/> <add-to-group group-id="MainMenu" anchor="last"/>
<action id="Myplugin.Textboxes" class="com.duanledexianxianxian.plugin.idea.action.HelloAction" text="Hello" description="Says hello"/> <action id="Myplugin.Textboxes" class="com.duanledexianxianxian.plugin.idea.action.HelloAction" text="Hello" description="Says hello"/>
</group> </group>
<action id="mabatis-plus-generate-action" class="com.duanledexianxianxian.plugin.idea.action.HelloAction" text="mybatis-plus-generate"
description="mybatis generator idea plugin">
<add-to-group group-id="DatabaseViewPopupMenu" anchor="last"/>
</action>
</actions> </actions>
</idea-plugin> </idea-plugin>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment