Skip to content

Commit

Permalink
Add 1.18.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
cerus committed Dec 26, 2021
1 parent 78151b7 commit a373d5f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions bukkit-17_R1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<parent>
<artifactId>maps</artifactId>
<groupId>dev.cerus</groupId>
<version>1.0.4</version>
<version>1.0.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<groupId>dev.cerus.maps</groupId>
<artifactId>bukkit-17_R1</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>

<properties>
<maven.compiler.target>16</maven.compiler.target>
Expand All @@ -23,7 +23,7 @@
<dependency>
<groupId>dev.cerus.maps</groupId>
<artifactId>common</artifactId>
<version>1.0.0</version>
<version>1.0.5</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions bukkit-18_R1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<parent>
<artifactId>maps</artifactId>
<groupId>dev.cerus</groupId>
<version>1.0.4</version>
<version>1.0.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<groupId>dev.cerus.maps</groupId>
<artifactId>bukkit-18_R1</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>

<properties>
<maven.compiler.source>17</maven.compiler.source>
Expand All @@ -22,7 +22,7 @@
<dependency>
<groupId>dev.cerus.maps</groupId>
<artifactId>common</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<parent>
<artifactId>maps</artifactId>
<groupId>dev.cerus</groupId>
<version>1.0.4</version>
<version>1.0.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<groupId>dev.cerus.maps</groupId>
<artifactId>common</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>

<properties>
<maven.compiler.target>16</maven.compiler.target>
Expand Down
10 changes: 5 additions & 5 deletions plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<parent>
<artifactId>maps</artifactId>
<groupId>dev.cerus</groupId>
<version>1.0.4</version>
<version>1.0.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<groupId>dev.cerus.maps</groupId>
<artifactId>plugin</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>

<properties>
<maven.compiler.target>16</maven.compiler.target>
Expand Down Expand Up @@ -54,19 +54,19 @@
<dependency>
<groupId>dev.cerus.maps</groupId>
<artifactId>common</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>dev.cerus.maps</groupId>
<artifactId>bukkit-17_R1</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>dev.cerus.maps</groupId>
<artifactId>bukkit-18_R1</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public VersionAdapter makeAdapter() {

return switch (version) {
case "1.17", "1.17.0", "1.17.1" -> new VersionAdapter17R1();
case "1.18" -> new VersionAdapter18R1();
case "1.18", "1.18.1" -> new VersionAdapter18R1();
default -> null;
};
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>dev.cerus</groupId>
<artifactId>maps</artifactId>
<packaging>pom</packaging>
<version>1.0.4</version>
<version>1.0.5</version>
<modules>
<module>common</module>
<module>bukkit-17_R1</module>
Expand Down

0 comments on commit a373d5f

Please sign in to comment.