diff --git a/build.gradle b/build.gradle
index 3abd6b23a68238a502effe3e8a131e0624c5b485..9b79ca2f773e0278fd3a8d14a599e9f7e9f9930d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -5,12 +5,14 @@ plugins {
group 'com.duanledexianxianxian'
version '1.0-SNAPSHOT'
-sourceCompatibility = 1.8
-repositories {
- mavenCentral()
+
+allprojects {
+ sourceCompatibility = 1.8
}
dependencies {
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'
}
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index c1b5490da2ca2fca7c499fe6bc4948b89dbe369b..81fa09b24918e1aea18df29eaeaa96cd11143dae 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,10 +1,6 @@
-#Fri Oct 11 15:26:34 CST 2019
-distributionBase=GRADLE_USER_HOME
-distributionPath=wrapper/dists
-zipStoreBase=GRADLE_USER_HOME
-zipStorePath=wrapper/dists
-#distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-bin.zip
-# local
-distributionUrl=file\:///D:/gradle-5.4.1-all.zip
-# 其他连接
-
+#Sun Oct 13 23:56:21 CST 2019
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
diff --git a/module1/build.gradle b/module1/build.gradle
index 3abd6b23a68238a502effe3e8a131e0624c5b485..d76db67ffb3448886623797817f455fe5fc865c7 100644
--- a/module1/build.gradle
+++ b/module1/build.gradle
@@ -5,11 +5,6 @@ plugins {
group 'com.duanledexianxianxian'
version '1.0-SNAPSHOT'
-sourceCompatibility = 1.8
-
-repositories {
- mavenCentral()
-}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
diff --git a/plugin-gradle/build.gradle b/plugin-gradle/build.gradle
new file mode 100644
index 0000000000000000000000000000000000000000..4921506353752c9339258772cbc001f7cef53014
--- /dev/null
+++ b/plugin-gradle/build.gradle
@@ -0,0 +1,27 @@
+plugins {
+ id 'java'
+ id 'org.jetbrains.intellij' version '0.4.10'
+}
+
+group 'com.duanledexianxianxian'
+version '1.0-SNAPSHOT'
+
+sourceCompatibility = 1.8
+
+repositories {
+ mavenCentral()
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.12'
+}
+
+// See https://github.com/JetBrains/gradle-intellij-plugin/
+intellij {
+ version '2019.1'
+}
+patchPluginXml {
+ changeNotes """
+ Add change notes here.
+ most HTML tags may be used"""
+}
\ No newline at end of file
diff --git a/plugin-gradle/src/main/resources/META-INF/plugin.xml b/plugin-gradle/src/main/resources/META-INF/plugin.xml
new file mode 100644
index 0000000000000000000000000000000000000000..8e6f3acd7bfb0403536fd89e3727c0750e6f6883
--- /dev/null
+++ b/plugin-gradle/src/main/resources/META-INF/plugin.xml
@@ -0,0 +1,24 @@
+
+ com.duanledexianxianxian.plugin-gradle
+ Plugin display name here
+ YourCompany
+
+
+ most HTML tags may be used
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/settings.gradle b/settings.gradle
index a3649910a317f81b60a7c92e153e216a9d72985f..2c0e4cd2085a2e9c4664f5f76f1ced32f82a5ead 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1,3 +1,4 @@
rootProject.name = 'gradle-example'
include 'module1'
+include 'plugin-gradle'