Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 13:30:17 +01:00
e49603ec0c
# Conflicts: # api/src/main/java/com/velocitypowered/api/command/ConsoleCommandSource.java # api/src/main/java/com/velocitypowered/api/event/connection/ProxyPingEvent.java # api/src/main/java/com/velocitypowered/api/event/connection/ProxyQueryEvent.java # api/src/main/java/com/velocitypowered/api/event/lifecycle/ListenerBoundEvent.java # api/src/main/java/com/velocitypowered/api/event/lifecycle/ListenerCloseEvent.java # api/src/main/java/com/velocitypowered/api/event/lifecycle/ProxyInitializeEvent.java # api/src/main/java/com/velocitypowered/api/event/lifecycle/ProxyReloadEvent.java # api/src/main/java/com/velocitypowered/api/event/lifecycle/ProxyShutdownEvent.java # api/src/main/java/com/velocitypowered/api/event/player/DisconnectEvent.java # api/src/main/java/com/velocitypowered/api/event/player/LoginEvent.java # api/src/main/java/com/velocitypowered/api/event/player/PostLoginEvent.java # api/src/main/java/com/velocitypowered/api/event/player/PreLoginEvent.java # api/src/main/java/com/velocitypowered/api/event/query/package-info.java # api/src/main/java/com/velocitypowered/api/proxy/connection/InboundConnection.java # api/src/main/java/com/velocitypowered/api/proxy/connection/Player.java # api/src/main/java/com/velocitypowered/api/proxy/connection/ServerConnection.java # api/src/main/java/com/velocitypowered/api/proxy/player/ConnectionRequestBuilder.java # api/src/main/java/com/velocitypowered/api/util/MessagePosition.java # api/src/main/java/com/velocitypowered/api/util/bossbar/BossBar.java # api/src/main/java/com/velocitypowered/api/util/bossbar/BossBarColor.java # api/src/main/java/com/velocitypowered/api/util/bossbar/BossBarFlag.java # api/src/main/java/com/velocitypowered/api/util/bossbar/BossBarOverlay.java # api/src/main/java/com/velocitypowered/api/util/title/TextTitle.java # api/src/main/java/com/velocitypowered/api/util/title/Title.java # api/src/main/java/com/velocitypowered/api/util/title/Titles.java # api/src/main/java/com/velocitypowered/api/util/title/package-info.java # build.gradle # native/src/main/java/com/velocitypowered/natives/compression/Java11VelocityCompressor.java # proxy/src/main/java/com/velocitypowered/proxy/connection/client/LoginSessionHandler.java # proxy/src/main/java/com/velocitypowered/proxy/network/ConnectionManager.java # proxy/src/main/java/com/velocitypowered/proxy/network/NettyPreconditions.java # proxy/src/main/java/com/velocitypowered/proxy/network/PluginMessageUtil.java # proxy/src/main/java/com/velocitypowered/proxy/network/ProtocolUtils.java # proxy/src/main/java/com/velocitypowered/proxy/network/ServerChannelInitializerHolder.java # proxy/src/main/java/com/velocitypowered/proxy/network/buffer/ByteBufDataInput.java # proxy/src/main/java/com/velocitypowered/proxy/network/buffer/ByteBufDataOutput.java # proxy/src/main/java/com/velocitypowered/proxy/network/packet/clientbound/ClientboundAvailableCommandsPacket.java # proxy/src/main/java/com/velocitypowered/proxy/network/packet/clientbound/ClientboundBossBarPacket.java # proxy/src/main/java/com/velocitypowered/proxy/network/packet/clientbound/ClientboundEncryptionRequestPacket.java # proxy/src/main/java/com/velocitypowered/proxy/network/packet/clientbound/ClientboundJoinGamePacket.java # proxy/src/main/java/com/velocitypowered/proxy/network/packet/clientbound/ClientboundPlayerListItemPacket.java # proxy/src/main/java/com/velocitypowered/proxy/network/packet/clientbound/ClientboundRespawnPacket.java # proxy/src/main/java/com/velocitypowered/proxy/network/packet/clientbound/ClientboundTabCompleteResponsePacket.java # proxy/src/main/java/com/velocitypowered/proxy/network/packet/legacy/LegacyDisconnectPacket.java # proxy/src/main/java/com/velocitypowered/proxy/network/packet/legacy/LegacyMinecraftPingVersion.java # proxy/src/main/java/com/velocitypowered/proxy/network/packet/serverbound/ServerboundClientSettingsPacket.java # proxy/src/main/java/com/velocitypowered/proxy/network/packet/serverbound/ServerboundTabCompleteRequestPacket.java # proxy/src/main/java/com/velocitypowered/proxy/network/pipeline/AutoReadHolderHandler.java # proxy/src/main/java/com/velocitypowered/proxy/network/pipeline/GS4QueryHandler.java # proxy/src/main/java/com/velocitypowered/proxy/network/pipeline/LegacyPingDecoder.java # proxy/src/main/java/com/velocitypowered/proxy/network/pipeline/LegacyPingEncoder.java # proxy/src/main/java/com/velocitypowered/proxy/network/pipeline/MinecraftCipherDecoder.java # proxy/src/main/java/com/velocitypowered/proxy/network/pipeline/MinecraftCipherEncoder.java # proxy/src/main/java/com/velocitypowered/proxy/network/pipeline/MinecraftCompressDecoder.java # proxy/src/main/java/com/velocitypowered/proxy/network/pipeline/MinecraftCompressEncoder.java # proxy/src/main/java/com/velocitypowered/proxy/network/pipeline/MinecraftDecoder.java # proxy/src/main/java/com/velocitypowered/proxy/network/pipeline/MinecraftEncoder.java # proxy/src/main/java/com/velocitypowered/proxy/network/pipeline/MinecraftVarintFrameDecoder.java # proxy/src/main/java/com/velocitypowered/proxy/network/pipeline/MinecraftVarintLengthEncoder.java # proxy/src/main/java/com/velocitypowered/proxy/network/pipeline/VarintByteDecoder.java # proxy/src/main/java/com/velocitypowered/proxy/network/resolver/SeparatePoolInetNameResolver.java # proxy/src/main/java/com/velocitypowered/proxy/network/serialization/FaviconSerializer.java # proxy/src/main/java/com/velocitypowered/proxy/network/serialization/GameProfileSerializer.java # proxy/src/main/java/com/velocitypowered/proxy/network/serialization/VelocityLegacyHoverEventSerializer.java # proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/ArgumentPropertyRegistry.java # proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/ArgumentPropertySerializer.java # proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/ByteArgumentPropertySerializer.java # proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/DoubleArgumentPropertySerializer.java # proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/EmptyArgumentPropertySerializer.java # proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/FloatArgumentPropertySerializer.java # proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/GenericArgumentPropertySerializer.java # proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/IntegerArgumentPropertySerializer.java # proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/LongArgumentPropertySerializer.java # proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/ModArgumentProperty.java # proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/ModArgumentPropertySerializer.java # proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/PassthroughProperty.java # proxy/src/main/java/com/velocitypowered/proxy/network/serialization/brigadier/StringArgumentPropertySerializer.java # proxy/src/main/java/com/velocitypowered/proxy/plugin/VelocityEventManager.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/MinecraftPacket.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/Chat.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/Disconnect.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/EncryptionResponse.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/Handshake.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/HeaderAndFooter.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/KeepAlive.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyHandshake.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LegacyPing.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LoginPluginMessage.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/LoginPluginResponse.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/PluginMessage.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/ResourcePackRequest.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/ResourcePackResponse.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/ServerLogin.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/ServerLoginSuccess.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/SetCompression.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/StatusPing.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/StatusRequest.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/StatusResponse.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/TitlePacket.java # proxy/src/main/java/com/velocitypowered/proxy/protocol/util/DeferredByteBufHolder.java # proxy/src/main/java/com/velocitypowered/proxy/util/bossbar/AdventureBossBarManager.java # proxy/src/main/java/com/velocitypowered/proxy/util/bossbar/VelocityBossBar.java # proxy/src/test/java/com/velocitypowered/proxy/event/MockEventManager.java # proxy/src/test/java/com/velocitypowered/proxy/network/PluginMessageUtilTest.java # proxy/src/test/java/com/velocitypowered/proxy/protocol/PacketRegistryTest.java
81 Zeilen
1.9 KiB
Groovy
81 Zeilen
1.9 KiB
Groovy
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.github.jengelman.gradle.plugins:shadow:5.2.0'
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'java'
|
|
id "com.github.spotbugs" version "4.2.4" apply false
|
|
id 'org.cadixdev.licenser' version '0.5.1' apply false
|
|
}
|
|
|
|
allprojects {
|
|
apply plugin: "com.github.spotbugs"
|
|
|
|
group 'com.velocitypowered'
|
|
version '2.0.0-SNAPSHOT'
|
|
|
|
ext {
|
|
// dependency versions
|
|
adventureVersion = '4.7.0'
|
|
junitVersion = '5.7.0'
|
|
slf4jVersion = '1.7.30'
|
|
log4jVersion = '2.13.3'
|
|
nettyVersion = '4.1.59.Final'
|
|
guavaVersion = '30.0-jre'
|
|
checkerFrameworkVersion = '3.6.1'
|
|
configurateVersion = '4.0.0-SNAPSHOT'
|
|
|
|
getCurrentShortRevision = {
|
|
new ByteArrayOutputStream().withStream { os ->
|
|
exec {
|
|
executable = "git"
|
|
args = ["rev-parse", "HEAD"]
|
|
standardOutput = os
|
|
}
|
|
return os.toString().trim().substring(0, 8)
|
|
}
|
|
}
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
|
|
// for kyoripowered dependencies
|
|
maven {
|
|
url 'https://oss.sonatype.org/content/groups/public/'
|
|
}
|
|
|
|
// Velocity repo
|
|
maven {
|
|
url "https://nexus.velocitypowered.com/repository/maven-public/"
|
|
}
|
|
}
|
|
|
|
test {
|
|
reports {
|
|
junitXml.enabled = true
|
|
}
|
|
}
|
|
|
|
tasks.withType(com.github.spotbugs.snom.SpotBugsTask) {
|
|
reports {
|
|
html {
|
|
enabled = true
|
|
destination = file("$buildDir/reports/spotbugs/main/spotbugs.html")
|
|
stylesheet = 'fancy-hist.xsl'
|
|
}
|
|
}
|
|
}
|
|
}
|