Skip to content

Commit ac0f87c

Browse files
chore: Remove hardcoded userdev version (#478)
1 parent cb61a88 commit ac0f87c

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

docs/paper/dev/getting-started/userdev.mdx

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,17 @@ See [here](#1205-and-beyond) for more details.
3737

3838
## Adding the plugin
3939
Add the plugin to your `build.gradle.kts` file.
40-
```kotlin
40+
41+
:::info
42+
43+
You can find the latest release of **paperweight-userdev** on the [Gradle Plugin
44+
Portal](https://plugins.gradle.org/plugin/io.papermc.paperweight.userdev).
45+
46+
:::
47+
48+
```kotlin title="build.gradle.kts"
4149
plugins {
42-
id("io.papermc.paperweight.userdev") version "1.7.1" // Check for new versions at https://plugins.gradle.org/plugin/io.papermc.paperweight.userdev
50+
id("io.papermc.paperweight.userdev") version "<insert_latest_version>"
4351
}
4452
```
4553

@@ -48,9 +56,8 @@ Only the latest version of `paperweight-userdev` is officially supported, and we
4856

4957
:::info[Snapshots]
5058

51-
**paperweight-userdev** releases are available through the [Gradle Plugin Portal](https://plugins.gradle.org/plugin/io.papermc.paperweight.userdev), but if you
52-
want to use SNAPSHOT versions, you must add Paper's Maven repository to `settings.gradle.kts` with:
53-
```kotlin
59+
**paperweight-userdev** SNAPSHOT (pre-release) versions are only available through Paper's Maven repository.
60+
```kotlin title="settings.gradle.kts"
5461
pluginManagement {
5562
repositories {
5663
gradlePluginPortal()
@@ -66,7 +73,7 @@ If you try to load your Gradle project now, you will receive an error saying you
6673
a dev bundle dependency. You can do that by adding to your `dependencies` block in your `build.gradle.kts`
6774
file.
6875

69-
<VersionFormattedCode language={"kotlin"}>
76+
<VersionFormattedCode language={"kotlin"} title={"build.gradle.kts"}>
7077
```
7178
dependencies {
7279
// Other Dependencies

0 commit comments

Comments
 (0)