Address @Camotoy's review

This commit is contained in:
Kas-tle 2022-07-13 16:20:42 +00:00 committed by GitHub
parent 1b5f237996
commit 0335c8263c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View file

@ -1,6 +1,6 @@
val paperVersion = "1.19-R0.1-SNAPSHOT"
val viaVersion = "4.0.0"
val adaptersVersion = "1.4-SNAPSHOT"
val adaptersVersion = "1.5-SNAPSHOT"
val commodoreVersion = "1.13"
dependencies {

View file

@ -31,6 +31,8 @@ object Versions {
const val nbtVersion = "2.1.0"
const val websocketVersion = "1.5.1"
const val protocolVersion = "a78a64b"
// Not pinned to specific version due to possible gradle bug
// See comment in settings.gradle.kts
const val raknetVersion = "1.6.28-SNAPSHOT"
const val mcauthlibVersion = "d9d773e"
const val mcprotocollibversion = "54fc9f0"

View file

@ -8,7 +8,12 @@ dependencyResolutionManagement {
mavenContent { releasesOnly() }
}
maven("https://repo.opencollab.dev/maven-snapshots") {
mavenContent { snapshotsOnly() }
mavenContent {
// This has the unintended side effect of not allowing snapshot version pinning.
// Likely a bug in Gradle's implementation of snapshot pinning
// See https://github.com/gradle/gradle/pull/406
snapshotsOnly()
}
}
// Paper, Velocity