Skip to content

Commit b9850ff

Browse files
committed
chore(paper): include .build in Maven version range
1 parent b774723 commit b9850ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/paper/dev/getting-started/project-setup.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ version string format used was `{VERSION}-R0.1-SNAPSHOT`, with no way to referen
5656
</TabItem>
5757
<TabItem label="Maven (Discouraged)">
5858
If you want dynamic latest build version resolution with Maven, you will need to define your
59-
version as a range: `[\{LATEST_PAPER_RELEASE},)`. For a specific build, you can
59+
version as a range: `[\{LATEST_PAPER_RELEASE}.build,)`. For a specific build, you can
6060
use the standard variant: `\{LATEST_PAPER_BUILD_API_VERSION}`.
6161

6262
```xml title="pom.xml" replace
@@ -72,7 +72,7 @@ version string format used was `{VERSION}-R0.1-SNAPSHOT`, with no way to referen
7272
<dependency>
7373
<groupId>io.papermc.paper</groupId>
7474
<artifactId>paper-api</artifactId>
75-
<version>[\{LATEST_PAPER_RELEASE},)</version>
75+
<version>[\{LATEST_PAPER_RELEASE}.build,)</version>
7676
<scope>provided</scope>
7777
</dependency>
7878
</dependencies>

0 commit comments

Comments
 (0)