Update SpongeGradle to 1.1.1-SNAPSHOT and Indra to 2.0.5

Also move common configuration to convention plugins
This commit is contained in:
jmp committed 2021-05-28 01:51:52 -07:00
1 parent 6518cecce2
commit eb7ec4353f
14 files changed
+117 -108

No files matched your search

+33 -1
View File
@@ -1,10 +1,42 @@
enableFeaturePreview("VERSION_CATALOGS")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
dependencyResolutionManagement {
repositories {
mavenCentral()
maven("https://oss.sonatype.org/content/repositories/snapshots/")
// Paper API
maven("https://papermc.io/repo/repository/maven-public/")
// Sponge API
maven("https://repo.spongepowered.org/repository/maven-public/")
// Moonshine
maven("https://nexus.proximyst.com/repository/maven-public/") {
content { includeGroup("com.proximyst.moonshine") }
}
// cloud snapshots repo
//maven("https://repo.incendo.org/content/repositories/snapshots") {
// content { includeGroup("cloud.commandframework") }
//}
// temporary cloud snapshots repo for sponge-8
maven("https://repo.jpenilla.xyz/snapshots/") {
content { includeGroup("cloud.commandframework") }
}
// PlaceholderAPI
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/") {
content { includeGroup("me.clip") }
}
maven("https://jitpack.io") {
content { includeGroupByRegex("com\\.github\\..*") }
}
}
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
}
pluginManagement {
repositories {
gradlePluginPortal()
maven("https://repo.jpenilla.xyz/snapshots/") // todo: for shadow to be compatible with Records
maven("https://repo.spongepowered.org/repository/maven-public/") // SpongeGradle snapshots
maven("https://repo.jpenilla.xyz/snapshots/") // run-paper + shadow snapshot
}
}