You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en-US/gallery-addons.md
+59-47Lines changed: 59 additions & 47 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -167,6 +167,22 @@ Check the required dependencies if your package needs them. By default, we will
167
167
-`Require paper=1.21.5` – requires package `paper` in exactly version `1.21.5`
168
168
-`No requirements` – your package has no dependencies and can operate standalone
169
169
170
+
#### Automatic Dependency Installation
171
+
172
+
Some packages, like Paper, may require Java, which will be installed on the user's server.
173
+
174
+
-**Automatic Java Installation:**
175
+
If you select Paper, the system will automatically install the appropriate Java version required by Paper.
176
+
177
+
-**Java Versions:**
178
+
Paper may require Java in a range, e.g., **11–17**. By default, the **latest available version in this range** will be installed (e.g., Java 17). Another compatible version may be installed if another package on the user's server already requires Java in a range, e.g., **11–14**. In this case, **Java 14** will be installed.
179
+
180
+
-**Adding a Custom Java Version:**
181
+
If you want to use a different Java version (override it), you can do so by adding an **advanced selector**, e.g.:
182
+
```bash
183
+
java~11
184
+
```
185
+
170
186
---
171
187
172
188
### 🔎 What’s the difference between `^`, `=`, and `~`?
@@ -224,7 +240,7 @@ For more information, see [documentation](https://github.com/Masterminds/semver?
Copy file name to clipboardExpand all lines: docs/pl-PL/gallery-addons.md
+59-47Lines changed: 59 additions & 47 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -167,6 +167,22 @@ Zaznacz wymagane zależności, jeśli Twoja paczka ich potrzebuje. Domyślnie po
167
167
-`Nie wymagaj`
168
168
– Twoja paczka nie ma żadnych zależności i może działać samodzielnie
169
169
170
+
#### Automatyczne instalowanie zależności:
171
+
172
+
Niektóre paczki jak np. Paper mogą wymagać Javy, która zostanie zainstalowana na serwerze użytkownika.
173
+
174
+
-**Automatyczna instalacja Javy:**
175
+
Jeśli zaznaczysz Paper, system automatycznie zainstaluje odpowiednią wersję Javy wymaganą przez Paper.
176
+
177
+
-**Wersje Javy:**
178
+
Paper może wymagać Javy w zakresie np. **11–17**. Domyślnie instalowana jest **najnowsza dostępna wersja w tym zakresie** (np. Java 17). Zainstalowana może zostać inna kompatybilna wersja jeśli na serwerze użytkownika jest już jakaś paczka wymagająca javy w zakresie np. **11–14**. Wtedy zainstalowana zostanie **Java 14**.
179
+
180
+
-**Dodanie niestandardowej wersji Javy:**
181
+
Jeśli chcesz użyć innej wersji Javy (nadpisać ją), możesz to zrobić, dodając **zaawansowany selector**, np.:
182
+
```bash
183
+
java~11
184
+
```
185
+
170
186
---
171
187
172
188
### 🔎 Czym się różni `^`, `=`, i `~`?
@@ -222,7 +238,7 @@ Aby dowiedzieć się więcej na ten temat skorzystaj z
0 commit comments