發表文章

目前顯示的是 7月, 2016的文章

gradle : multiple spring boot project

file structure : application - build.gradle - settings.gradle - core -- src --- main ---- java ----- com ------ application ---- resouces ----- application.properties -- build.gradle - db -- build.gradle - model -- build.gradle application : build.gradle setting allprojects {     group = 'com.test'     version = '1.0.0.1' } subprojects {     apply plugin: 'java'     project.ext {         springBootVersion = '1.3.6.RELEASE'     }     repositories {         mavenLocal()         mavenCentral()     } } application : settings.gradle rootProject.name = 'application' include 'core', 'model', 'db' core : build.gradle buildscript {     repositories {         mavenLocal()         mavenCentral()     }     dependencies {         classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.3.6.RELEASE'     } } description = 'core' apply plugin: 'application' apply plugin: