Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buildscript {
- repositories {
- jcenter()
- maven {
- url "http://repo.spring.io/milestone"
- }
- maven {
- url "https://repo.spring.io/libs-snapshot"
- }
- }
- dependencies {
- classpath("org.springframework.boot:spring-boot-gradle-plugin:${spring_boot_version}")
- }
- }
- def javaProjects = subprojects.findAll {
- it.name in ["common", "core", "web", "app"]
- }
- allprojects {
- apply plugin: 'idea'
- apply plugin: 'eclipse'
- repositories {
- jcenter()
- maven {
- url "https://repo.spring.io/libs-milestone"
- }
- maven {
- url "https://repo.spring.io/libs-snapshot"
- }
- }
- }
- idea {
- project {
- jdkName = "1.8"
- languageLevel = "1.8"
- vcs = "Git"
- }
- }
- configure(javaProjects) {
- apply plugin: 'java'
- apply plugin: 'checkstyle'
- apply plugin: 'io.spring.dependency-management'
- sourceCompatibility = 1.8
- targetCompatibility = 1.8
- dependencyManagement {
- dependencies {
- dependency("com.google.code.findbugs:annotations:3.0.1")
- dependency("org.projectlombok:lombok:1.16.20")
- dependencySet(group: "io.springfox", version: "2.8.0") {
- entry "springfox-swagger2"
- entry "springfox-swagger-ui"
- entry "springfox-bean-validators"
- }
- dependencySet(group: "org.eclipse.persistence", version: "2.7.1") {
- entry "org.eclipse.persistence.jpa"
- entry "org.eclipse.persistence.jpa.modelgen.processor"
- }
- dependency("commons-validator:commons-validator:1.6")
- dependency("org.apache.commons:commons-lang3:3.6")
- dependency("com.google.api-client:google-api-client:1.23.0")
- dependency("com.google.oauth-client:google-oauth-client-jetty:1.23.0")
- dependency("com.google.apis:google-api-services-drive:v2-rev289-1.23.0")
- }
- }
- dependencies {
- /*******************************
- * Compile Dependencies
- *******************************/
- compile("io.springfox:springfox-swagger2")
- compile("io.springfox:springfox-swagger-ui")
- compile("io.springfox:springfox-bean-validators")
- /*******************************
- * Provided Dependencies
- *******************************/
- compileOnly("org.projectlombok:lombok")
- compileOnly("com.google.code.findbugs:annotations")
- /*******************************
- * Runtime Dependencies
- *******************************/
- /*******************************
- * Test Dependencies
- *******************************/
- testCompile("org.springframework.boot:spring-boot-starter-test")
- }
- checkstyle {
- configFile = new File(project.parent.projectDir, "codequality/checkstyle/checkstyle.xml")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement