mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-22 16:39:30 +00:00
[ci skip] update contributing and readme (#381)
This commit is contained in:
@@ -30,7 +30,7 @@ maven {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly("org.leavesmc.leaves:leaves-api:1.21-R0.1-SNAPSHOT")
|
compileOnly("org.leavesmc.leaves:leaves-api:1.21.1-R0.1-SNAPSHOT")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ Each time you want to update your dependency, you must re-build Leaves.
|
|||||||
Leaves-Server:
|
Leaves-Server:
|
||||||
```kotlin
|
```kotlin
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly("org.leavesmc.leaves:leaves:1.21-R0.1-SNAPSHOT")
|
compileOnly("org.leavesmc.leaves:leaves:1.21.1-R0.1-SNAPSHOT")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
Leaves
|
Leaves
|
||||||
===========
|
===========
|
||||||
|
|
||||||
[](https://github.com/LeavesMC/Leaves/actions/workflows/leaves.yml)
|
[](https://github.com/LeavesMC/Leaves/actions/workflows/leaves.yml)
|
||||||
[](https://github.com/LeavesMC/Leaves/releases/latest)
|
[](https://github.com/LeavesMC/Leaves/releases/latest)
|
||||||
[](https://discord.gg/5hgtU72w33)
|
[](https://discord.gg/5hgtU72w33)
|
||||||
[](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=nisbmnCFeEJCcYWBQ10th4Fu99XWklH4&authKey=8VlUxSdrFCIwmIpxFQIGR8%2BXvIQ2II%2Bx2JfxuQ8amr9UKgINh%2BdXjudQfc%2FIeTO5&noverify=0&group_code=815857713)
|
[](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=nisbmnCFeEJCcYWBQ10th4Fu99XWklH4&authKey=8VlUxSdrFCIwmIpxFQIGR8%2BXvIQ2II%2Bx2JfxuQ8amr9UKgINh%2BdXjudQfc%2FIeTO5&noverify=0&group_code=815857713)
|
||||||
@@ -30,7 +30,7 @@ maven {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly("org.leavesmc.leaves:leaves-api:1.21-R0.1-SNAPSHOT")
|
compileOnly("org.leavesmc.leaves:leaves-api:1.21.1-R0.1-SNAPSHOT")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ dependencies {
|
|||||||
Leaves-Server:
|
Leaves-Server:
|
||||||
```kotlin
|
```kotlin
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly("org.leavesmc.leaves:leaves:1.21R0.1-SNAPSHOT")
|
compileOnly("org.leavesmc.leaves:leaves:1.21.1-R0.1-SNAPSHOT")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ See also [This issue](https://github.com/isaacs/github/issues/1681), and then yo
|
|||||||
Before coding, you need these softwares / tools as Dev Environment.
|
Before coding, you need these softwares / tools as Dev Environment.
|
||||||
|
|
||||||
- `git`
|
- `git`
|
||||||
- `JDK 17 or higher`
|
- `JDK 21 or higher`
|
||||||
- We used Gradle's toolchains, so you can build Leaves using JRE 8. (When Gradle can't find JDK 17, it will download it automatically.)
|
- We used Gradle's toolchains, so you can build Leaves using JRE 8. (When Gradle can't find JDK 21, it will download it automatically.)
|
||||||
|
|
||||||
If you're using Windows Operating System, you can use `WSL` to speed up building.
|
If you're using Windows Operating System, you can use `WSL` to speed up building.
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ Contributing to Leaves
|
|||||||
在开始开发之前,您首先需要拥有以下软件作为开发环境:
|
在开始开发之前,您首先需要拥有以下软件作为开发环境:
|
||||||
|
|
||||||
- `git`
|
- `git`
|
||||||
- `JDK 17 或更高版本`
|
- `JDK 21 或更高版本`
|
||||||
- 我们使用了 Gradle 的工具链,这让你可以使用 JRE 8 就进行构建。(Gradle 在找不到 JDK 17 时会自动下载)
|
- 我们使用了 Gradle 的工具链,这让你可以使用 JRE 8 就进行构建。(Gradle 在找不到 JDK 21 时会自动下载)
|
||||||
|
|
||||||
如果你使用 Windows 系统进行开发,那么你可以使用 `WSL` 来加速构建。
|
如果你使用 Windows 系统进行开发,那么你可以使用 `WSL` 来加速构建。
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user