mirror of
https://gitee.com/dcren/initializr.git
synced 2025-09-18 17:48:14 +08:00
40 lines
765 B
Plaintext
40 lines
765 B
Plaintext
buildscript {
|
|
ext {
|
|
springBootVersion = '1.2.3.RELEASE'
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
|
|
classpath('io.spring.gradle:dependency-management-plugin:0.5.1.RELEASE')
|
|
}
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'spring-boot'
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
group = 'com.example'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
|
|
dependencies {
|
|
compile('org.acme:foo')
|
|
testCompile('org.springframework.boot:spring-boot-starter-test')
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "org.acme:bar-bom:1.0"
|
|
mavenBom "org.acme:biz-bom:1.0"
|
|
mavenBom "org.acme:foo-bom:1.0"
|
|
}
|
|
}
|