Skip to content

Commit

Permalink
17
Browse files Browse the repository at this point in the history
  • Loading branch information
Hummel009 committed Jan 23, 2024
1 parent 4187f6c commit d8679f1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
| Система автоматической сборки Make | 4.3 |
| Система автоматической сборки CMake | 3.28.1 |
| Java, используемая для запуска Gradle | 8+ |
| Java, используемая для сборки проекта | 11+ |
| Java, используемая для запуска проекта | 11+ |
| Java, используемая для сборки проекта | 17+ |
| Java, используемая для запуска проекта | 17+ |
| Kotlin | 1.9.22 |
| .NET | 8.0 |
| Стандарт C++ | C++23 |
Expand Down
2 changes: 1 addition & 1 deletion appJava/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies {

java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
languageVersion = JavaLanguageVersion.of(17)
}
}

Expand Down
2 changes: 1 addition & 1 deletion appJava/src/main/java/hummel/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private static void calculate(WinDef.HWND field) {

ExUser32.INSTANCE.SetWindowText(field, String.valueOf(result));
} else if (Set.of("!", "s", "i", "r").contains(operator)) {
var operand = Double.parseDouble(STORAGE.getFirst());
var operand = Double.parseDouble(STORAGE.get(0));

var result = switch (operator) {
case "!" -> FACTORIAL[(int) operand];
Expand Down
2 changes: 1 addition & 1 deletion appKotlinJvm/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies {

java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
languageVersion = JavaLanguageVersion.of(17)
}
}

Expand Down
2 changes: 1 addition & 1 deletion appKotlinNative/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = "v" + LocalDate.now().format(DateTimeFormatter.ofPattern("yy.MM.dd"))

java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
languageVersion = JavaLanguageVersion.of(17)
}
}

Expand Down

0 comments on commit d8679f1

Please sign in to comment.