From 7b26bde27a731aea6b8a6eabe1f92e287ad94557 Mon Sep 17 00:00:00 2001 From: wind Date: Mon, 5 Apr 2021 18:52:16 +0800 Subject: [PATCH] add mapper --- build.gradle | 10 ++-- gradle/wrapper/gradle-wrapper.properties | 2 +- src/main/resources/META-INF/plugin.xml | 16 +++--- .../resources/globalConfig/Default/init.vm | 2 +- .../resources/template/Default/dao.java.vm | 26 +++++++++- .../resources/template/Default/mapper.xml.vm | 49 +++++++++++++++++++ 6 files changed, 91 insertions(+), 14 deletions(-) diff --git a/build.gradle b/build.gradle index e7fc509..e84af83 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ buildscript { plugins { id 'java' - id 'org.jetbrains.intellij' version '0.3.5' + id 'org.jetbrains.intellij' version '0.7.2' } //2.1 插件配置 @@ -17,7 +17,7 @@ apply plugin: 'idea' apply plugin: 'org.jetbrains.intellij' group 'com.bruce' -version '1.2.3-RELEASE' +version '1.2.4-RELEASE' sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 @@ -42,12 +42,12 @@ intellij { sandboxDirectory = "${rootProject.rootDir}/idea-sandbox" // 开发环境运行时使用的版本 2018.1.6 LATEST-EAP-SNAPSHOT //测试最新版本 -// version '2018.1.6' + version '2018.1.6' type 'IU' - localPath 'G:\\Program Files\\JetBrains\\IntelliJ IDEA 201.5616.10' +// localPath '/Users/wind/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/LATEST-EAP-SNAPSHOT/754a628dd74aa813e7ecac0f4179612ecee07de6/ideaIC-LATEST-EAP-SNAPSHOT' // 依赖的插件 - plugins = ['DatabaseTools', 'Velocity','Kotlin','Java'] + plugins = ['DatabaseTools', 'Velocity','Kotlin','JavaEE'] //Disables updating since-build attribute in plugin.xml updateSinceUntilBuild false } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a9ebca1..86bf9f4 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.8-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index bc763a6..83a77d1 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -22,12 +22,16 @@ 1.2.3-RELEASE

- +

1.2.4-RELEASE

+ +

1.2.3-RELEASE

+

1.2.2-RELEASE