File tree Expand file tree Collapse file tree 5 files changed +13
-9
lines changed
src/main/java/com/codingame/gameengine/core
runner/src/main/java/com/codingame/gameengine/runner Expand file tree Collapse file tree 5 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 18
18
<dependency >
19
19
<groupId >com.google.inject</groupId >
20
20
<artifactId >guice</artifactId >
21
- <version >4 .0</version >
21
+ <version >7.0 .0</version >
22
22
<exclusions >
23
23
<exclusion >
24
24
<groupId >com.google.guava</groupId >
30
30
<dependency >
31
31
<groupId >com.google.guava</groupId >
32
32
<artifactId >guava</artifactId >
33
- <version >32 .1.2 -jre</version >
33
+ <version >33 .1.0 -jre</version >
34
34
</dependency >
35
35
36
36
<dependency >
37
37
<groupId >com.google.code.gson</groupId >
38
38
<artifactId >gson</artifactId >
39
- <version >2.8.2 </version >
39
+ <version >2.10.1 </version >
40
40
</dependency >
41
41
<dependency >
42
42
<groupId >commons-logging</groupId >
Original file line number Diff line number Diff line change 2
2
3
3
import java .lang .reflect .Type ;
4
4
5
- import javax .inject .Provider ;
6
-
7
5
import com .google .inject .AbstractModule ;
8
6
import com .google .inject .Injector ;
9
7
import com .google .inject .Key ;
8
+ import com .google .inject .Provider ;
10
9
import com .google .inject .Provides ;
11
10
import com .google .inject .Singleton ;
12
11
import com .google .inject .util .Types ;
Original file line number Diff line number Diff line change 2
2
3
3
The CodinGame SDK is regularly updated and improved. This document lets you know what changed in the latest releases.
4
4
5
- ## Next version
5
+ ## 4.5.0
6
+
7
+ ### 🎁 Features
8
+
9
+ - Upgraded configuration to use Java 17
6
10
7
11
### 🐞 Bug fix
8
12
Original file line number Diff line number Diff line change 11
11
<url >https://www.codingame.com</url >
12
12
13
13
<properties >
14
- <maven .compiler.source>1.8</maven .compiler.source>
15
- <maven .compiler.target>1.8</maven .compiler.target>
14
+ <java .version>17</java .version>
15
+ <maven .compiler.source>17</maven .compiler.source>
16
+ <maven .compiler.target>17</maven .compiler.target>
16
17
</properties >
17
18
18
19
<modules >
Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ public GameConfig findConfig(Path rootDir) throws IOException {
404
404
}
405
405
}
406
406
}
407
- } else if ("stub.txt" .equals (fileName )) {
407
+ } else if ("stub.txt" .equals (fileName ) || "stub.json" . equals ( fileName ) ) {
408
408
questionConfig .setStubGenerator (FileUtils .readFileToString (p .toFile (), StandardCharsets .UTF_8 ));
409
409
} else if (statementMatcher .matches ()) {
410
410
String content = FileUtils .readFileToString (p .toFile (), StandardCharsets .UTF_8 );
You can’t perform that action at this time.
0 commit comments