ci: Cleanup maven repositories (#1526)

This commit is contained in:
Alex 2022-01-12 01:21:27 +01:00 committed by GitHub
parent 5fc0de0b82
commit 6b857b0f58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 3 additions and 18 deletions

View File

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

View File

@ -19,15 +19,10 @@ fun Project.applyCommonConfiguration() {
name = "OSS Sonatype 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 {
name = "Athion"
url = uri("https://ci.athion.net/plugin/repository/tools/")
}
mavenLocal()
}
configurations.all {

View File

@ -1,7 +1,6 @@
import org.gradle.api.Project
import org.gradle.api.attributes.java.TargetJvmVersion
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.javadoc.Javadoc
import org.gradle.api.tasks.testing.Test
@ -59,7 +58,7 @@ fun Project.applyCommonJavaConfiguration(sourcesJar: Boolean, banSlf4j: Boolean
)
options.encoding = "UTF-8"
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://javadoc.io/doc/org.apache.logging.log4j/log4j-api/latest/index.html",
"https://www.antlr.org/api/Java/",

View File

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

View File

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

View File

@ -11,10 +11,6 @@ applyPlatformAndCoreConfiguration()
applyShadowConfiguration()
repositories {
maven {
name = "SpigotMC"
url = uri("https://hub.spigotmc.org/nexus/content/groups/public")
}
maven {
name = "PaperMC"
url = uri("https://papermc.io/repo/repository/maven-public/")
@ -35,10 +31,6 @@ repositories {
name = "OSS Sonatype 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")) }
}