Skip to content

Commit

Permalink
Relocate apache commons
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Mar 17, 2024
1 parent 3f80c5f commit c66d522
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ tasks {
shadowJar {
reloc("org.incendo")
reloc("io.leangen.geantyref")
reloc("org.apache.commons")
reloc("xyz.niflheim")
reloc("org.spongepowered.configurate")
reloc("net.kyori.adventure.serializer.configurate4")
Expand All @@ -157,6 +158,7 @@ tasks {
}
writeDependencies {
reloc("io.leangen.geantyref")
reloc("org.apache.commons")
repos.set(listOf(
"https://repo.papermc.io/repository/maven-public/",
"https://repo.maven.apache.org/maven2/",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import xyz.jpenilla.chesscraft.data.piece.Piece;

public interface BoardStateHolder {
@Nullable Piece piece(final BoardPosition pos);
@Nullable Piece piece(BoardPosition pos);

static BoardStateHolder of(final Piece[][] pieces) {
return new BoardStateHolder() {
Expand Down

0 comments on commit c66d522

Please sign in to comment.