浏览代码

3x sb stater 走起

hubin 7 年之前
父节点
当前提交
da553ea572
共有 3 个文件被更改,包括 13 次插入0 次删除
  1. 5 0
      build.gradle
  2. 7 0
      mybatis-plus-boot-starter/build.gradle
  3. 1 0
      settings.gradle

+ 5 - 0
build.gradle

@@ -43,6 +43,11 @@ ext {
         //code generator
         "velocity"              : "org.apache.velocity:velocity-engine-core:2.0",
         "freemarker"            : "org.freemarker:freemarker:2.3.9",
+
+        // spring boot
+        "springboot-autoconfigure":"org.springframework.boot:spring-boot-autoconfigure:${springBootVersion}",
+        "springboot-configuration-processor":"org.springframework.boot:spring-boot-configuration-processor:${springBootVersion}",
+        "springboot-starter-jdbc":"org.springframework.boot:spring-boot-starter-jdbc:${springBootVersion}",
     ]
 }
 

+ 7 - 0
mybatis-plus-boot-starter/build.gradle

@@ -0,0 +1,7 @@
+dependencies {
+    compile project(":mybatis-plus")
+    compile rootProject.ext.dependencies["springboot-autoconfigure"]
+    compile rootProject.ext.dependencies["springboot-starter-jdbc"]
+    optional rootProject.ext.dependencies["springboot-configuration-processor"]
+
+}

+ 1 - 0
settings.gradle

@@ -5,4 +5,5 @@ include 'mybatis-plus-annotation'
 include 'mybatis-plus-extension'
 include 'mybatis-plus-generator'
 include 'mybatis-plus-adapter'
+include 'mybatis-plus-boot-starter'