40 lines
1000 B
Groovy
40 lines
1000 B
Groovy
buildscript {
|
|
ext {
|
|
springBootVersion = '1.5.4.RELEASE'
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
|
|
}
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'org.springframework.boot'
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = 11
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local/' }
|
|
}
|
|
|
|
|
|
dependencies {
|
|
compile('org.springframework.boot:spring-boot-starter-data-jpa')
|
|
compile('org.springframework.boot:spring-boot-starter-data-rest')
|
|
compile('io.springfox:springfox-data-rest:2.7.1-SNAPSHOT')
|
|
compile('io.springfox:springfox-swagger2:2.7.1-SNAPSHOT')
|
|
compile('io.springfox:springfox-swagger-ui:2.7.1-SNAPSHOT')
|
|
compile('com.h2database:h2:1.4.196')
|
|
testCompile('org.springframework.boot:spring-boot-starter-test')
|
|
}
|
|
|
|
bootRun{
|
|
jvmArgs = ["-Xdebug", "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005"]
|
|
}
|