Fix gradle run

This commit is contained in:
Quentin Legot 2021-10-17 16:27:25 +02:00
parent aad5c8a544
commit 38af64cdf0
2 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,11 @@
*/
plugins {
id 'application'
id 'fr.lnl.game.java-library-conventions'
}
application {
mainClassName = 'fr.lnl.game.server.games.grid.Grid'
}

View File

@ -15,7 +15,7 @@ public class Grid {
public Grid(int x, int y){
this.x = x;
this.y = y;
board = new HashMap<Point<Integer, Integer>, Triplet<Box, Box, Box>>();
board = new HashMap<>();
}
public void initGrid(){