File tree 3 files changed +6
-2
lines changed
src/main/java/io/github/bensku/tsbind/cli
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ repositories {
7
7
mavenCentral()
8
8
}
9
9
10
+ compileJava {
11
+ options. release = 11
12
+ }
13
+
10
14
dependencies {
11
15
implementation ' com.github.javaparser:javaparser-symbol-solver-core:3.20.2'
12
16
implementation ' com.google.code.gson:gson:2.8.6'
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-6.3 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.0.2 -bin.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public Path read(JsonReader in) throws IOException {
74
74
if (Files .isDirectory (inputPath )) {
75
75
inputDir = inputPath .resolve (args .offset );
76
76
} else { // Try to open a zip file
77
- inputDir = FileSystems .newFileSystem (inputPath , null ).getPath ("/" ).resolve (args .offset );
77
+ inputDir = FileSystems .newFileSystem (inputPath , ( ClassLoader ) null ).getPath ("/" ).resolve (args .offset );
78
78
}
79
79
80
80
// Prepare for AST generation
You can’t perform that action at this time.
0 commit comments