Return to using snapshot pinned Network version

This commit is contained in:
Camotoy 2022-09-14 18:09:08 -04:00
parent 6df8740955
commit 77827d5cf5
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F
2 changed files with 2 additions and 14 deletions

View file

@ -32,9 +32,7 @@ object Versions {
const val nbtVersion = "2.1.0"
const val websocketVersion = "1.5.1"
const val protocolVersion = "0bd459f"
// 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 raknetVersion = "1.6.28-20220125.214016-6"
const val mcauthlibVersion = "d9d773e"
const val mcprotocollibversion = "9f78bd5"
const val packetlibVersion = "3.0"

View file

@ -4,17 +4,7 @@ dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
// Floodgate, Cumulus etc.
maven("https://repo.opencollab.dev/maven-releases") {
mavenContent { releasesOnly() }
}
maven("https://repo.opencollab.dev/maven-snapshots") {
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()
}
}
maven("https://repo.opencollab.dev/main")
// Paper, Velocity
maven("https://repo.papermc.io/repository/maven-public")