This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
2017-03-01 22:07:08 +01:00
|
|
|
buildscript {
|
|
|
|
ext {
|
|
|
|
springBootVersion = '1.5.1.RELEASE'
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'eclipse'
|
|
|
|
apply plugin: 'idea'
|
|
|
|
apply plugin: 'checkstyle'
|
|
|
|
apply plugin: 'pmd'
|
|
|
|
apply plugin: 'findbugs'
|
|
|
|
apply plugin: 'org.springframework.boot'
|
|
|
|
|
|
|
|
jar {
|
|
|
|
baseName = 'monolith'
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
}
|
|
|
|
|
|
|
|
checkstyle {
|
|
|
|
toolVersion = "7.6"
|
|
|
|
maxErrors = 0
|
|
|
|
maxWarnings = 0
|
|
|
|
}
|
|
|
|
|
|
|
|
findbugs{
|
|
|
|
findbugsTest.enabled=false
|
|
|
|
}
|
|
|
|
|
|
|
|
pmd {
|
|
|
|
pmdTest.enabled=false
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile('org.springframework.boot:spring-boot-starter-cache')
|
|
|
|
compile('org.springframework.boot:spring-boot-starter-data-jpa')
|
|
|
|
compile('org.flywaydb:flyway-core')
|
|
|
|
compile('org.springframework.boot:spring-boot-starter-security')
|
|
|
|
compile('org.springframework.boot:spring-boot-starter-thymeleaf')
|
|
|
|
compile('org.springframework.boot:spring-boot-starter-web')
|
2017-03-08 23:41:35 +01:00
|
|
|
compile('org.apache.commons:commons-lang3:3.5')
|
2017-03-01 22:07:08 +01:00
|
|
|
runtime('org.springframework.boot:spring-boot-devtools')
|
|
|
|
runtime('org.postgresql:postgresql')
|
|
|
|
testCompile('org.springframework.boot:spring-boot-starter-test')
|
2017-03-08 23:41:35 +01:00
|
|
|
testCompile('org.mockito:mockito-core:2.7.14')
|
|
|
|
testCompile('org.hamcrest:hamcrest-core:1.3')
|
2017-03-01 22:07:08 +01:00
|
|
|
}
|