Skip to content

Commit

Permalink
Release: Update README and project group id for unique bergerhealer c…
Browse files Browse the repository at this point in the history
…loud changes

Signed-off-by: Irmo van den Berge <[email protected]>
  • Loading branch information
bergerkiller committed Oct 1, 2023
1 parent 5cf3d50 commit 3a5e77d
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 10 deletions.
49 changes: 48 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,55 @@
# Bergerhealer Cloud Enhancements (Cloud 1.8.4)

This repository hosts some improvements to the cloud command framework.
These changes are critical to make integrating cloud in other projects a success.

To use this version of cloud, use the following repository:
```xml
<repository>
<id>MG-Dev Jenkins CI Maven Repository</id>
<url>https://ci.mg-dev.eu/plugin/repository/everything</url>
</repository>
```

And the following group id: `org.bergerhealer.cloud.commandframework`. For example:
```xml
<dependency>
<groupId>org.bergerhealer.cloud.commandframework</groupId>
<artifactId>cloud-paper</artifactId>
<version>1.8.4</version>
</dependency>
<dependency>
<groupId>org.bergerhealer.cloud.commandframework</groupId>
<artifactId>cloud-annotations</artifactId>
<version>1.8.4</version>
</dependency>
```

## Changes
This fork adds the following features/fixes

### Simple coordinator fix
Fixes exceptions not caught or handled when using the simple coordinator.

### InitializationMethod annotation
Makes it easier to register parsers / suggestion providers through annotations.
The annotation parser and/or the command manager can be passed to the method.
```java
@InitializationMethod
private void init(AnnotationParser<CommandSender> parser, CommandManager<CommandSender> manager) {
// Do your things here
}
```

### Prepend and append command handlers
Makes it possible to run code before and/or after a command is executed.
Useful in combination with command builder modifiers to, for example, check for
permissions before executing a command.

<div align="center">
<img src="icons/CloudNew.png" width="300px"/>
</div>

# cloud command framework

![license](https://img.shields.io/github/license/Incendo/cloud.svg)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
plugins {
id("net.kyori.indra.publishing.sonatype")
id("com.diffplug.spotless")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ plugins {
id("net.kyori.indra.publishing")
}

signing {
val signingKey: String? by project
val signingPassword: String? by project
useInMemoryPgpKeys(signingKey, signingPassword)
}

indra {
// Need to specify in environment (or gradle.properties):
// - MGDevUsername
// - MGDevPassword
// - MGDevSigningKey
// - MGDevSigningPassword
publishAllTo("MGDev", "https://ci.mg-dev.eu/plugin/repository/everything")
signWithKeyFromPrefixedProperties("MGDev")

github("Incendo", "cloud") {
ci(true)
}
Expand All @@ -27,3 +29,4 @@ indra {
}
}
}

2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
group=cloud.commandframework
group=org.bergerhealer.cloud.commandframework
version=1.8.4
description=Command framework and dispatcher for the JVM

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ versions:
compileTesting: "0.20"

# build-logic
indra: 3.0.1
indra: 3.1.0
gradleTestLogger: 3.2.0
gradleErrorprone: 3.0.1
spotless: *spotless
Expand Down

0 comments on commit 3a5e77d

Please sign in to comment.