
plugins {
    id 'org.springframework.boot'
    id 'io.spring.dependency-management'
}

sourceSets {
    main {
        resources {
            srcDirs "src/main/resources", "src/main/java"
        }
    }
}

dependencyManagement {
    imports {
        mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
    }
}

dependencies {
    implementation project(':hyena-spring-boot-starter')

    implementation("org.springframework.boot:spring-boot-starter:${springBootVersion}")
//    implementation("org.springframework.boot:spring-boot-starter-web:${springBootVersion}")
    implementation("org.springframework.boot:spring-boot-starter-webflux:${springBootVersion}")
    implementation("org.springframework.boot:spring-boot-starter-jdbc:${springBootVersion}")
    implementation "org.springframework.boot:spring-boot-starter-aop:${springBootVersion}"
    implementation("org.springframework.boot:spring-boot-starter-cache:${springBootVersion}")
    implementation('org.springframework.boot:spring-boot-starter-actuator')
    implementation("org.mybatis.spring.boot:mybatis-spring-boot-starter:${mybatisStarterVersion}")
    implementation("org.springdoc:springdoc-openapi-ui:${springdocVersion}")
    implementation("org.springdoc:springdoc-openapi-webflux-ui:${springdocVersion}")


    implementation 'io.micrometer:micrometer-tracing-bridge-brave'
    implementation 'io.zipkin.reporter2:zipkin-reporter-brave'
    implementation 'io.github.openfeign:feign-micrometer'

    implementation('net.logstash.logback:logstash-logback-encoder:8.0')
    implementation("org.ehcache:ehcache:${ehcacheVersion}")


    runtimeOnly("org.apache.commons:commons-pool2:${commonsPoolVersion}")

    runtimeOnly('mysql:mysql-connector-java:8.0.23')

}
