Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Grabsky committed May 24, 2024
1 parent bf9b91f commit 2ead568
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 26 deletions.
25 changes: 5 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</span>
<p></p>

Plugin for [PaperMC/Paper](https://github.com/PaperMC/Paper) servers granting you ability to create complex dialogs and display them to your players.
Plugin for **[PaperMC/Paper](https://github.com/PaperMC/Paper)** servers granting you ability to create complex dialogs and display them to your players.

<br />

Expand All @@ -19,31 +19,16 @@ Requires **Java 17** (or higher) and **Paper 1.20.1 #161** (or higher).

<br />

## Future
List of things that **may** be implemented in the future:
- [x] Replace `dialogs.json` file with `plugins/Dialogs/dialogs/` directory which can contain multiple files defining dialogs. This allows to form groups/categories of dialogs which will drastically improve readability/edit times for servers with lots of them. This may involve some breaking configuration changes.
- [x] Refactor `ConsoleCommandElement` to `CommandElement` with support for console and player commands in mind. This may involve some breaking configuration changes.
- [ ] More elements, including but not limited to: bossbar, titles, subtitles and perhaps toast pop-ups.
- [x] Configurable typing sound and a way to disable it.

<br />

## Known Issues
List of known issues that will be fixed in the upcoming plugin release(s):
- [x] ~~Multiple dialogs can be shown to player at once, causing them to overlap.~~ (**[1.20.1 #9](https://github.com/Grabsky/Dialogs/releases/tag/1.20.1-9)**)

<br />

## Building (Linux)
Some dependencies use [GitHub Gradle Registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry) and thus may require extra configuration steps for the project to build properly.
## Building
Some dependencies use **[GitHub Gradle Registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry)** and thus may require extra configuration steps for the project to build properly.

```shell
# Cloning repository.
$ git clone https://github.com/Grabsky/Dialogs.git
# Entering cloned repository.
$ cd ./Dialogs
$ cd Dialogs
# Compiling and building artifacts.
$ ./gradlew clean build
$ gradlew clean build
```

<br />
Expand Down
11 changes: 5 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ final WORKSPACE_BUILDS = System.getenv("WORKSPACE_BUILDS") ?: null
final WORKSPACE_PLUGINS = System.getenv("WORKSPACE_PLUGINS") ?: null

group = "cloud.grabsky"
version = "1.20.4-${System.getenv("GITHUB_RUN_NUMBER") ?: "DEV"}"
version = "1.20.6-${System.getenv("GITHUB_RUN_NUMBER") ?: "DEV"}"

repositories {
mavenLocal()
mavenCentral()
// Repository for the Paper API.
maven { url = "https://papermc.io/repo/repository/maven-public/" }
maven { url = "https://repo.papermc.io/repository/maven-public/" }
// Repository for the PlaceholderAPI, API.
maven { url = "https://repo.extendedclip.com/content/repositories/placeholderapi/" }
// Repository containing the 'bedrock' dependency.
Expand Down Expand Up @@ -43,16 +43,16 @@ repositories {

dependencies {
// Lombok
compileOnly("org.projectlombok:lombok:1.18.30")
annotationProcessor("org.projectlombok:lombok:1.18.30")
compileOnly("org.projectlombok:lombok:1.18.32")
annotationProcessor("org.projectlombok:lombok:1.18.32")
// Paper API
compileOnly("io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT")
// Plugin libraries, must be shaded.
implementation("cloud.grabsky:bedrock:1.20.1-47")
implementation("cloud.grabsky:commands:1.20.1-34")
implementation("cloud.grabsky:configuration-paper:1.20.1-42")
// Plugin dependencies, should be present in the classpath as required per 'paper-plugin.yml' file.
compileOnly("me.clip:placeholderapi:2.11.3")
compileOnly("me.clip:placeholderapi:2.11.6")
}

tasks {
Expand All @@ -61,7 +61,6 @@ tasks {
}
compileJava {
options.fork = true
// Setting compatibility to Java 17 (above should work too).
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
Expand Down

0 comments on commit 2ead568

Please sign in to comment.