Configure a Gradle Kotlin DSL to resolve Micronaut Snapshots
Micronaut documentation describes how to use snapshots.
The following snippet, which uses the Kotlin DSL, allows you to resolve Micronaut snapshots:
repositories {
maven {
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
mavenContent {
snapshotsOnly()
}
}
mavenCentral {
mavenContent {
releasesOnly()
}
}
}
Tags: #micronaut #gradle