Skip to content

Commit

Permalink
Shorter variant for repo declaration.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnuecke committed Aug 20, 2023
1 parent a9493ad commit f1b0dc2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
3 changes: 1 addition & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ base {
java.toolchain.languageVersion.set(JavaLanguageVersion.of(17))

repositories {
maven {
url = uri("https://cursemaven.com")
maven("https://cursemaven.com") {
content { includeGroup("curse.maven") }
}
}
Expand Down
10 changes: 4 additions & 6 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
pluginManagement {
repositories {
exclusiveContent {
forRepository { maven("https://maven.minecraftforge.net") }
filter { includeGroupByRegex("net\\.minecraftforge.*") }
maven("https://maven.minecraftforge.net") {
content { includeGroupByRegex("net\\.minecraftforge.*") }
}
exclusiveContent {
forRepository { maven("https://maven.parchmentmc.org") }
filter { includeGroupByRegex("org\\.parchmentmc.*") }
maven("https://maven.parchmentmc.org") {
content { includeGroupByRegex("org\\.parchmentmc.*") }
}
gradlePluginPortal()
}
Expand Down

0 comments on commit f1b0dc2

Please sign in to comment.