53 lines
1.2 KiB
Groovy
53 lines
1.2 KiB
Groovy
plugins {
|
|
id "java-library"
|
|
id "io.spring.javaformat"
|
|
id "org.springframework.boot" apply false
|
|
}
|
|
|
|
repositories {
|
|
maven {
|
|
url "https://repo.spring.io/artifactory/spring-commercial-snapshot-remote"
|
|
credentials {
|
|
username System.env['REPO_SPRING_IO_USERNAME']
|
|
password System.env['REPO_SPRING_IO_PASSWORD']
|
|
}
|
|
mavenContent {
|
|
snapshotsOnly()
|
|
includeGroupByRegex("io.micrometer.*")
|
|
includeGroupByRegex("org.springframework.*")
|
|
}
|
|
}
|
|
maven {
|
|
url "https://repo.spring.io/artifactory/spring-commercial-release-remote"
|
|
credentials {
|
|
username System.env['REPO_SPRING_IO_USERNAME']
|
|
password System.env['REPO_SPRING_IO_PASSWORD']
|
|
}
|
|
mavenContent {
|
|
releasesOnly()
|
|
includeGroupByRegex("io.micrometer.*")
|
|
includeGroupByRegex("org.springframework.*")
|
|
}
|
|
}
|
|
mavenCentral()
|
|
maven {
|
|
url "https://repo.spring.io/snapshot"
|
|
mavenContent {
|
|
snapshotsOnly()
|
|
}
|
|
}
|
|
maven {
|
|
url "https://repo.spring.io/milestone"
|
|
mavenContent {
|
|
releasesOnly()
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api(enforcedPlatform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
|
|
runtimeOnly("io.projectreactor.netty:reactor-netty-http")
|
|
api("org.springframework:spring-webflux")
|
|
api("org.springframework.boot:spring-boot-starter-test")
|
|
}
|