Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-24 15:20:15 +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:
Ursprung
1bec3cf1d0
Commit
10a2df5a7d
@ -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]
|
||||
|
@ -1,4 +1,5 @@
|
||||
name: ViaVersion
|
||||
main: us.myles.ViaVersion.BungeePlugin
|
||||
description: ${project.description}
|
||||
author: _MylesC, Matsv
|
||||
version: ${project.version}
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
12
sponge/src/main/resources/mcmod.info
Normale Datei
12
sponge/src/main/resources/mcmod.info
Normale Datei
@ -0,0 +1,12 @@
|
||||
[
|
||||
{
|
||||
"modid": "viaversion",
|
||||
"name": "ViaVersion",
|
||||
"version": "${project.version}",
|
||||
"description": "${project.description}",
|
||||
"authorList": [
|
||||
"_MylesC",
|
||||
"Matsv"
|
||||
]
|
||||
}
|
||||
]
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren