Add modern Paper and region APIs
This commit is contained in:
2
TODO.md
2
TODO.md
@@ -4,7 +4,7 @@
|
|||||||
|:-------:|:--------:|:------|
|
|:-------:|:--------:|:------|
|
||||||
| MET-001 | Done | Initialize Gradle in the project root, add the Gradle wrapper, and create the project build file. |
|
| MET-001 | Done | Initialize Gradle in the project root, add the Gradle wrapper, and create the project build file. |
|
||||||
| MET-002 | Done | Set Gradle project metadata and configure a Java toolchain compatible with the target modern Paper version. |
|
| MET-002 | Done | Set Gradle project metadata and configure a Java toolchain compatible with the target modern Paper version. |
|
||||||
| MET-003 | Ready | Configure repositories and compatible PaperMC, WorldEdit, WorldGuard, and other required or optional dependencies; add build plugins such as Shadow only if needed. |
|
| MET-003 | Done | Configure repositories and compatible PaperMC, WorldEdit, WorldGuard, and other required or optional dependencies; add build plugins such as Shadow only if needed. |
|
||||||
| MET-004 | Ready | Move or verify plugin.yml under src/main/resources, configure Gradle resource processing, and update its Paper api-version, dependencies, commands, permissions, and required fields. |
|
| MET-004 | Ready | Move or verify plugin.yml under src/main/resources, configure Gradle resource processing, and update its Paper api-version, dependencies, commands, permissions, and required fields. |
|
||||||
| MET-005 | Ready | Add JUnit 5 test infrastructure and keep the default Gradle `test` task server-free. Use an in-memory Paper harness such as MockBukkit for Bukkit/Paper behavior and mocks or test doubles for WorldEdit, WorldGuard, and narrow API boundaries where appropriate. |
|
| MET-005 | Ready | Add JUnit 5 test infrastructure and keep the default Gradle `test` task server-free. Use an in-memory Paper harness such as MockBukkit for Bukkit/Paper behavior and mocks or test doubles for WorldEdit, WorldGuard, and narrow API boundaries where appropriate. |
|
||||||
| MET-006 | Ready | Build the initial Gradle project and run its tests; resolve build setup issues before removing the existing Maven build. |
|
| MET-006 | Ready | Build the initial Gradle project and run its tests; resolve build setup issues before removing the existing Maven build. |
|
||||||
|
|||||||
13
build.gradle
13
build.gradle
@@ -6,6 +6,19 @@ plugins {
|
|||||||
group = 'com.majinnaibu.bukkitplugins'
|
group = 'com.majinnaibu.bukkitplugins'
|
||||||
description = 'Metropolis'
|
description = 'Metropolis'
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
maven { url = 'https://repo.papermc.io/repository/maven-public/' }
|
||||||
|
maven { url = 'https://maven.enginehub.org/repo/' }
|
||||||
|
mavenLocal()
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
compileOnly 'io.papermc.paper:paper-api:26.2.build.129-stable'
|
||||||
|
compileOnly 'com.sk89q.worldedit:worldedit-bukkit:7.4.5'
|
||||||
|
compileOnly 'com.sk89q.worldguard:worldguard-bukkit:7.0.19'
|
||||||
|
}
|
||||||
|
|
||||||
java {
|
java {
|
||||||
toolchain {
|
toolchain {
|
||||||
languageVersion = JavaLanguageVersion.of(25)
|
languageVersion = JavaLanguageVersion.of(25)
|
||||||
|
|||||||
Reference in New Issue
Block a user