Skip to content

Commit

Permalink
fix NMSBridgeImpl register
Browse files Browse the repository at this point in the history
  • Loading branch information
tanyaofei committed Jul 6, 2024
1 parent fdbbd65 commit 107598b
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 13 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,6 @@ fabric.properties
/purpur/
/server

buildtool/
buildtool/

.flattened-pom.xml
2 changes: 1 addition & 1 deletion fakeplayer-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.github.hello09x.fakeplayer</groupId>
<artifactId>fakeplayer-parent</artifactId>
<version>1.0.0</version>
<version>${revision}</version>
</parent>

<artifactId>fakeplayer-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion fakeplayer-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.github.hello09x.fakeplayer</groupId>
<artifactId>fakeplayer-parent</artifactId>
<version>1.0.0</version>
<version>${revision}</version>
</parent>

<artifactId>fakeplayer-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion fakeplayer-core/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: fakeplayer
version: '${plugin.version}'
version: '${revision}'
main: io.github.hello09x.fakeplayer.core.Main
api-version: '1.20'
author: hello09x
Expand Down
6 changes: 3 additions & 3 deletions fakeplayer-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.github.hello09x.fakeplayer</groupId>
<artifactId>fakeplayer-parent</artifactId>
<version>1.0.0</version>
<version>${revision}</version>
</parent>

<artifactId>fakeplayer-dist</artifactId>
Expand Down Expand Up @@ -38,7 +38,7 @@

<build>
<directory>../target</directory>
<finalName>fakeplayer-${plugin.version}</finalName>
<finalName>fakeplayer-${revision}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -75,7 +75,7 @@
<target>
<copy todir="../server/plugins">
<fileset dir="${project.build.directory}">
<include name="fakeplayer-${plugin.version}.jar"/>
<include name="fakeplayer-${revision}.jar"/>
</fileset>
</copy>
</target>
Expand Down
27 changes: 26 additions & 1 deletion fakeplayer-v1_21_R1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.github.hello09x.fakeplayer</groupId>
<artifactId>fakeplayer-parent</artifactId>
<version>1.0.0</version>
<version>${revision}</version>
</parent>

<artifactId>fakeplayer-v1_21_R1</artifactId>
Expand Down Expand Up @@ -54,6 +54,31 @@

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.6.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.md-5</groupId>
<artifactId>specialsource-maven-plugin</artifactId>
Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.github.hello09x.fakeplayer</groupId>
<artifactId>fakeplayer-parent</artifactId>
<version>1.0.0</version>
<version>${revision}</version>
<packaging>pom</packaging>

<name>fakeplayer-parent</name>
Expand All @@ -20,7 +20,7 @@
<properties>
<java.version>21</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<plugin.version>0.3.2</plugin.version>
<revision>0.3.3</revision>
</properties>

<repositories>
Expand Down Expand Up @@ -85,19 +85,19 @@
<dependency>
<groupId>io.github.hello09x.fakeplayer</groupId>
<artifactId>fakeplayer-api</artifactId>
<version>${project.version}</version>
<version>${revision}</version>
</dependency>

<dependency>
<groupId>io.github.hello09x.fakeplayer</groupId>
<artifactId>fakeplayer-core</artifactId>
<version>${project.version}</version>
<version>${revision}</version>
</dependency>

<dependency>
<groupId>io.github.hello09x.fakeplayer</groupId>
<artifactId>fakeplayer-v1_21_R1</artifactId>
<version>${project.version}</version>
<version>${revision}</version>
</dependency>

<dependency>
Expand Down

0 comments on commit 107598b

Please sign in to comment.