Jelajahi Sumber

3x sb stater 走起

hubin 7 tahun lalu
induk
melakukan
da553ea572
3 mengubah file dengan 13 tambahan dan 0 penghapusan
  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'