ci: Cleanup maven repositories (#1526)

Dieser Commit ist enthalten in:
Alex 2022-01-12 01:21:27 +01:00 committet von GitHub
Ursprung 5fc0de0b82
Commit 6b857b0f58
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23
6 geänderte Dateien mit 3 neuen und 18 gelöschten Zeilen

Datei anzeigen

@ -1,4 +1,3 @@
import io.papermc.paperweight.userdev.attribute.Obfuscation
import org.gradle.api.Project import org.gradle.api.Project
import org.gradle.kotlin.dsl.apply import org.gradle.kotlin.dsl.apply
import org.gradle.kotlin.dsl.dependencies import org.gradle.kotlin.dsl.dependencies

Datei anzeigen

@ -19,15 +19,10 @@ fun Project.applyCommonConfiguration() {
name = "OSS Sonatype Snapshots" name = "OSS Sonatype Snapshots"
url = uri("https://oss.sonatype.org/content/repositories/snapshots/") url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
} }
maven {
name = "OSS Sonatype Releases"
url = uri("https://oss.sonatype.org/content/repositories/releases/")
}
maven { maven {
name = "Athion" name = "Athion"
url = uri("https://ci.athion.net/plugin/repository/tools/") url = uri("https://ci.athion.net/plugin/repository/tools/")
} }
mavenLocal()
} }
configurations.all { configurations.all {

Datei anzeigen

@ -1,7 +1,6 @@
import org.gradle.api.Project import org.gradle.api.Project
import org.gradle.api.attributes.java.TargetJvmVersion import org.gradle.api.attributes.java.TargetJvmVersion
import org.gradle.api.plugins.JavaPluginExtension import org.gradle.api.plugins.JavaPluginExtension
import org.gradle.api.plugins.quality.CheckstyleExtension
import org.gradle.api.tasks.compile.JavaCompile import org.gradle.api.tasks.compile.JavaCompile
import org.gradle.api.tasks.javadoc.Javadoc import org.gradle.api.tasks.javadoc.Javadoc
import org.gradle.api.tasks.testing.Test import org.gradle.api.tasks.testing.Test
@ -59,7 +58,7 @@ fun Project.applyCommonJavaConfiguration(sourcesJar: Boolean, banSlf4j: Boolean
) )
options.encoding = "UTF-8" options.encoding = "UTF-8"
links( links(
"https://javadoc.io/doc/com.google.code.findbugs/jsr305/3.0.2/", "https://javadoc.io/doc/com.google.code.findbugs/jsr305/latest/index.html",
"https://jd.adventure.kyori.net/api/latest/", "https://jd.adventure.kyori.net/api/latest/",
"https://javadoc.io/doc/org.apache.logging.log4j/log4j-api/latest/index.html", "https://javadoc.io/doc/org.apache.logging.log4j/log4j-api/latest/index.html",
"https://www.antlr.org/api/Java/", "https://www.antlr.org/api/Java/",

Datei anzeigen

@ -22,6 +22,6 @@ configurations.all {
dependencies { dependencies {
paperDevBundle("1.17.1-R0.1-20211219.175449-201") paperDevBundle("1.17.1-R0.1-20220103.100533-207")
compileOnly(libs.paperlib) compileOnly(libs.paperlib)
} }

Datei anzeigen

@ -12,6 +12,6 @@ repositories {
} }
dependencies { dependencies {
paperDevBundle("1.18.1-R0.1-20211221.093324-19") paperDevBundle("1.18.1-R0.1-20220109.051857-74")
compileOnly(libs.paperlib) compileOnly(libs.paperlib)
} }

Datei anzeigen

@ -11,10 +11,6 @@ applyPlatformAndCoreConfiguration()
applyShadowConfiguration() applyShadowConfiguration()
repositories { repositories {
maven {
name = "SpigotMC"
url = uri("https://hub.spigotmc.org/nexus/content/groups/public")
}
maven { maven {
name = "PaperMC" name = "PaperMC"
url = uri("https://papermc.io/repo/repository/maven-public/") url = uri("https://papermc.io/repo/repository/maven-public/")
@ -35,10 +31,6 @@ repositories {
name = "OSS Sonatype Snapshots" name = "OSS Sonatype Snapshots"
url = uri("https://oss.sonatype.org/content/repositories/snapshots/") url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
} }
maven {
name = "OSS Sonatype Releases"
url = uri("https://oss.sonatype.org/content/repositories/releases/")
}
flatDir { dir(File("src/main/resources")) } flatDir { dir(File("src/main/resources")) }
} }