buildscript {
    ext {
        springBootVersion = '2.0.0.RC2'
    }
    repositories {
        mavenCentral()
        maven { url "https://repo.spring.io/snapshot" }
        maven { url "https://repo.spring.io/milestone" }
    }
    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
    }
}

apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'

group = 'com.acme'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8

repositories {
    mavenCentral()
    maven { url "https://repo.spring.io/snapshot" }
    maven { url "https://repo.spring.io/milestone" }
}

dependencies {
    compileOnly 'org.projectlombok:lombok:1.16.18'
//    compileOnly "org.springframework.boot:spring-boot-configuration-processor"
//    compile('org.springframework.boot:spring-boot')
//    compile('org.springframework.boot:spring-boot-devtools')
//    compile('org.springframework.boot:spring-boot-autoconfigure')
//    compile('org.springframework.boot:spring-boot-starter-data-jpa')
//    compile('org.springframework.boot:spring-boot-starter-security')
//    compile('org.springframework.boot:spring-boot-starter-web')
    compile('org.springframework.boot:spring-boot-starter-actuator')
//    testCompile('org.springframework.boot:spring-boot-starter-test')
//    testCompile('org.springframework.security:spring-security-test')
//     https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-config
//    compile group: 'org.springframework.cloud', name: 'spring-cloud-starter-config', version: '2.0.0.M4'
}

compileJava.dependsOn(processResources)
