Skip to content

Commit

Permalink
Let Scala 3 example depend on Paper server implementation classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Boerman committed Dec 27, 2024
1 parent 0e48890 commit e42362a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
5 changes: 0 additions & 5 deletions Dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@

<artifactId>Dependencies</artifactId>

<properties>
<minecraft.version>1.21.4</minecraft.version>
<paper.version>${minecraft.version}-R0.1-SNAPSHOT</paper.version>
</properties>

<repositories>
<repository>
<id>papermc</id>
Expand Down
9 changes: 8 additions & 1 deletion Scala3Example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,14 @@
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.21.4-R0.1-SNAPSHOT</version>
<version>${paper.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-server</artifactId>
<version>${paper.version}</version>
<classifier>mojang-mapped</classifier>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
1 change: 0 additions & 1 deletion ScalaLoader-Paper/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<paper.version>1.21.4-R0.1-SNAPSHOT</paper.version>

<!-- paper server dependencies -->
<mavenResolverVersion>1.7.3</mavenResolverVersion>
Expand Down
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<minecraft.version>1.21.4</minecraft.version>
<paper.version>${minecraft.version}-R0.1-SNAPSHOT</paper.version>
</properties>

<modules>
Expand Down

0 comments on commit e42362a

Please sign in to comment.