apply plugin: 'java-library'

repositories {
    mavenCentral()
}

dependencies {
    // import a BOM
    implementation 'org.springframework.boot:spring-boot-dependencies:1.5.8.RELEASE'

    // define dependencies without versions
    implementation 'com.google.code.gson:gson'
    implementation 'dom4j:dom4j'
}

//Note: dom4j also brings in xml-apis as transitive dependency
task copyLibs(type: Copy) {
    from configurations.compileClasspath
    into "$buildDir/libs"
}
