3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-25 07:40:08 +01:00

Use plugin description from project pom.xml and fix sponge.

This disables the sponge plugin annotation processor and uses our own mcmod.info
Dieser Commit ist enthalten in:
Myles 2016-11-13 13:15:26 +00:00
Ursprung 1bec3cf1d0
Commit 10a2df5a7d
6 geänderte Dateien mit 27 neuen und 17 gelöschten Zeilen

Datei anzeigen

@ -2,7 +2,7 @@ name: ViaVersion
main: us.myles.ViaVersion.ViaVersionPlugin
authors: [_MylesC, Matsv]
version: ${project.version}
description: Allow newer Minecraft versions to connect to an older server version.
description: ${project.description}
load: postworld
loadbefore: [ProtocolLib, ProxyPipe, SpigotLib, SkinRestorer]
softdepend: [ProtocolSupport, PacketListenerApi]

Datei anzeigen

@ -1,4 +1,5 @@
name: ViaVersion
main: us.myles.ViaVersion.BungeePlugin
description: ${project.description}
author: _MylesC, Matsv
version: ${project.version}

Datei anzeigen

@ -35,21 +35,6 @@
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>templating-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<id>filter-src</id>
<goals>
<goal>filter-sources</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>

Datei anzeigen

@ -35,6 +35,17 @@
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<!-- We only run lombok and not sponge in-built mcmod.info generator due to issues with multiversion -->
<annotationProcessors>
<annotationProcessor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</annotationProcessor>
</annotationProcessors>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>templating-maven-plugin</artifactId>

Datei anzeigen

@ -37,7 +37,8 @@ import java.util.logging.Logger;
name = "ViaVersion",
version = VersionInfo.VERSION,
authors = {"_MylesC", "Matsv"},
description = "Allow newer Minecraft versions to connect to an older server version."
description = "Allow newer Minecraft versions to connect to an older server version.",
dependencies = {}
)
public class SpongePlugin implements ViaPlatform {
@Inject

Datei anzeigen

@ -0,0 +1,12 @@
[
{
"modid": "viaversion",
"name": "ViaVersion",
"version": "${project.version}",
"description": "${project.description}",
"authorList": [
"_MylesC",
"Matsv"
]
}
]