mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-13 21:13:53 +00:00
Update Upstream
609c7b8 Scrapped Logging Framework 4 Java Closes #997 Closes #998 Closes #999 Closes #1000 Closes #1001 Closes #1002
This commit is contained in:
@ -2,6 +2,7 @@ import org.gradle.api.Project
|
||||
import org.gradle.api.plugins.JavaPluginExtension
|
||||
import org.gradle.jvm.toolchain.JavaLanguageVersion
|
||||
import org.gradle.kotlin.dsl.dependencies
|
||||
import org.gradle.kotlin.dsl.get
|
||||
import org.gradle.kotlin.dsl.repositories
|
||||
import org.gradle.kotlin.dsl.the
|
||||
|
||||
@ -14,19 +15,10 @@ fun Project.applyCommonConfiguration() {
|
||||
maven {
|
||||
name = "IntellectualSites"
|
||||
url = uri("https://mvn.intellectualsites.com/content/groups/public/")
|
||||
content {
|
||||
includeGroup("com.plotsquared")
|
||||
includeGroup("com.intellectualsites.paster")
|
||||
includeGroup("com.github.intellectualsites.plotsquared")
|
||||
}
|
||||
}
|
||||
maven {
|
||||
name = "EngineHub"
|
||||
url = uri("https://maven.enginehub.org/repo/")
|
||||
content {
|
||||
includeGroupByRegex("org.enginehub.*")
|
||||
includeGroupByRegex("com.sk89q.*")
|
||||
}
|
||||
}
|
||||
maven {
|
||||
name = "OSS Sonatype Snapshots"
|
||||
@ -39,13 +31,6 @@ fun Project.applyCommonConfiguration() {
|
||||
maven {
|
||||
name = "Athion"
|
||||
url = uri("https://ci.athion.net/plugin/repository/tools/")
|
||||
content {
|
||||
includeGroup("com.massivecraft")
|
||||
includeGroup("com.thevoxelbox.voxelsniper")
|
||||
includeGroup("com.palmergames.bukkit")
|
||||
includeGroup("net.fabiozumbi12")
|
||||
includeGroupByRegex("com.destroystokyo.*")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -55,6 +40,14 @@ fun Project.applyCommonConfiguration() {
|
||||
}
|
||||
}
|
||||
|
||||
configurations.findByName("compileClasspath")?.apply {
|
||||
resolutionStrategy.componentSelection {
|
||||
withModule("org.slf4j:slf4j-api") {
|
||||
reject("No SLF4J allowed on compile classpath")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
plugins.withId("java") {
|
||||
the<JavaPluginExtension>().toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(8))
|
||||
|
@ -38,7 +38,7 @@ fun Project.applyLibrariesConfiguration() {
|
||||
exclude(dependency("com.google.guava:guava"))
|
||||
exclude(dependency("com.google.code.gson:gson"))
|
||||
exclude(dependency("org.checkerframework:checker-qual"))
|
||||
exclude(dependency("org.slf4j:slf4j-api"))
|
||||
exclude(dependency("org.apache.logging.log4j:log4j-api"))
|
||||
}
|
||||
|
||||
relocations.forEach { (from, to) ->
|
||||
|
@ -3,11 +3,10 @@ import org.gradle.api.Project
|
||||
object Versions {
|
||||
const val TEXT = "3.0.4"
|
||||
const val TEXT_EXTRAS = "3.0.6"
|
||||
const val PISTON = "0.5.6"
|
||||
const val PISTON = "0.5.7"
|
||||
const val AUTO_VALUE = "1.7.4"
|
||||
const val JUNIT = "5.7.0"
|
||||
const val MOCKITO = "3.8.0"
|
||||
const val SLF4J = "1.7.30"
|
||||
const val LOGBACK = "1.2.3"
|
||||
const val FAST_UTIL = "8.2.1"
|
||||
const val GUAVA = "21.0"
|
||||
|
Reference in New Issue
Block a user