This commit is contained in:
parent
930ce3ff46
commit
03c41c7835
3 changed files with 6 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: "git.lab0x13.site/scrow/bazel-java:0.8"
|
image: "git.lab0x13.site/scrow/bazel-java:0.9"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
- uses: actions/cache@v6
|
- uses: actions/cache@v6
|
||||||
|
|
@ -20,7 +20,6 @@ jobs:
|
||||||
CACHE_PASSWORD: ${{ secrets.CACHE_PASSWORD }}
|
CACHE_PASSWORD: ${{ secrets.CACHE_PASSWORD }}
|
||||||
run: |
|
run: |
|
||||||
bazel \
|
bazel \
|
||||||
--batch \
|
|
||||||
--output_user_root=/var/cache/bazel \
|
--output_user_root=/var/cache/bazel \
|
||||||
build //bukkit:bukkit.publish //core:core.publish //velocity:velocity.publish \
|
build //bukkit:bukkit.publish //core:core.publish //velocity:velocity.publish \
|
||||||
--remote_upload_local_results \
|
--remote_upload_local_results \
|
||||||
|
|
|
||||||
1
.idea/workspace.xml
generated
1
.idea/workspace.xml
generated
|
|
@ -43,6 +43,7 @@
|
||||||
<list default="true" id="6414223f-1761-4683-97f5-9dab59d6c44a" name="Changes" comment=".">
|
<list default="true" id="6414223f-1761-4683-97f5-9dab59d6c44a" name="Changes" comment=".">
|
||||||
<change beforePath="$PROJECT_DIR$/.forgejo/workflows/publish-artifact.yml" beforeDir="false" afterPath="$PROJECT_DIR$/.forgejo/workflows/publish-artifact.yml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.forgejo/workflows/publish-artifact.yml" beforeDir="false" afterPath="$PROJECT_DIR$/.forgejo/workflows/publish-artifact.yml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/core/src/main/java/de/kentoj/kencommandapi/api/argument/types/StringArgumentType.java" beforeDir="false" afterPath="$PROJECT_DIR$/core/src/main/java/de/kentoj/kencommandapi/api/argument/types/StringArgumentType.java" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,10 @@ import de.kentoj.kencommandapi.api.suggestion.SuggestionProvider;
|
||||||
|
|
||||||
public record StringArgumentType<T>(boolean greedy) implements ArgumentType<T, String> {
|
public record StringArgumentType<T>(boolean greedy) implements ArgumentType<T, String> {
|
||||||
|
|
||||||
|
public StringArgumentType() {
|
||||||
|
this(false);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String parseInputUnchecked(String string) {
|
public String parseInputUnchecked(String string) {
|
||||||
return string;
|
return string;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue