Skip to content

Commit 40c8d80

Browse files
authored
Merge pull request #2943 from 1c-syntax/dependabot/gradle/org.springframework.boot-3.0.0
build(deps): bump org.springframework.boot from 2.7.5 to 3.0.0
2 parents 7865e3f + 204e805 commit 40c8d80

File tree

42 files changed

+64
-51
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+64
-51
lines changed

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
java_version: ['11', '17', '20']
21+
java_version: ['17', '20']
2222
os: [ubuntu-latest, windows-latest, macOS-latest]
2323
steps:
2424
- uses: actions/checkout@v3

build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ plugins {
1616
id("io.freefair.maven-central.validate-poms") version "6.6.1"
1717
id("me.qoomon.git-versioning") version "6.4.2"
1818
id("com.github.ben-manes.versions") version "0.47.0"
19-
id("org.springframework.boot") version "2.7.12"
19+
id("org.springframework.boot") version "3.0.1"
2020
id("io.spring.dependency-management") version "1.1.0"
2121
id("io.github.1c-syntax.bslls-dev-tools") version "0.7.2"
2222
id("ru.vyarus.pom") version "2.2.2"
@@ -71,7 +71,7 @@ dependencies {
7171

7272
// lsp4j core
7373
api("org.eclipse.lsp4j", "org.eclipse.lsp4j", "0.21.0")
74-
api("org.eclipse.lsp4j", "org.eclipse.lsp4j.websocket", "0.21.0")
74+
api("org.eclipse.lsp4j", "org.eclipse.lsp4j.websocket.jakarta", "0.21.0")
7575

7676
// 1c-syntax
7777
api("com.github.1c-syntax", "bsl-parser", "0.22.0") {
@@ -150,8 +150,8 @@ jacoco {
150150
}
151151

152152
java {
153-
sourceCompatibility = JavaVersion.VERSION_11
154-
targetCompatibility = JavaVersion.VERSION_11
153+
sourceCompatibility = JavaVersion.VERSION_17
154+
targetCompatibility = JavaVersion.VERSION_17
155155
withSourcesJar()
156156
withJavadocJar()
157157
}

docs/contributing/EnvironmentSetting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Необходимое ПО
66

7-
* Java Development Kit 11
7+
* Java Development Kit 17
88
* [IntelliJ IDEA Community Edition](https://www.jetbrains.com/idea/download/)
99
* Плагины IntelliJ IDEA
1010
* Lombok Plugin
@@ -14,7 +14,7 @@
1414

1515
### Настройки IntelliJ IDEA
1616

17-
* Настроить [Java SDK на JDK11](https://www.jetbrains.com/help/idea/sdk.html#manage_sdks)
17+
* Настроить [Java SDK на JDK17](https://www.jetbrains.com/help/idea/sdk.html#manage_sdks)
1818
* Включить обработку аннотаций: `File -> Settings -> Build, Execution, Deployment -> Compiler -> Annotation Processors -> Enable annotation processing`
1919
* Выполнить настройки автоимпорта, подробно описано в [статье](https://www.jetbrains.com/help/idea/creating-and-optimizing-imports.html). Отдельно стоит обратить внимание на оптимизацию импорта.
2020
* Не надо запускать оптимизацию импортов всего проекта, за этим следят мейнтейнеры. Если после оптимизации импортов появились измененные файлы, которые не менялись в процессе разработки, стоит уведомить мейнтейнеров и откатить эти изменения.

docs/en/contributing/EnvironmentSetting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Development is underway using [IntelliJ IDEA Community Edition](https://www.jetb
44

55
## Required Software
66

7-
* Java Development Kit 11
7+
* Java Development Kit 17
88
* [IntelliJ IDEA Community Edition](https://www.jetbrains.com/idea/download/)
99
* Plugins IntelliJ IDEA
1010
* Lombok Plugin
@@ -14,7 +14,7 @@ Please note that plugins do not have to be installed - if you have Internet acce
1414

1515
### IntelliJ IDEA Settings
1616

17-
* Configure [Java SDK на JDK11](https://www.jetbrains.com/help/idea/sdk.html#manage_sdks)
17+
* Configure [Java SDK на JDK17](https://www.jetbrains.com/help/idea/sdk.html#manage_sdks)
1818
* Enable annotation processing: `File -> Settings -> Build, Execution, Deployment -> Compiler -> Annotation Processors -> Enable annotation processing`
1919
* Configure auto import settings, details in the [article](https://www.jetbrains.com/help/idea/creating-and-optimizing-imports.html). Pay special attention to import optimization.
2020
* There is no need to start optimization of imports of the entire project, this is followed by maintainers. If, after optimizing imports, changed files appeared that did not change during the development process, you should notify the maintainers and roll back these changes.

docs/en/systemRequirements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Using `BSL Language Server` has some limitations, listed bellow
66

77
`BSL Language Server` is a console Java application and requires the presence of a Java virtual machine on the computer.
88

9-
The minimum supported version is Java 11, but as part of the build pipelines, a health check is performed when using more recent versions. Java versions 11 and 17 are currently supported.
9+
The minimum supported version is Java 17, but as part of the build pipelines, a health check is performed when using more recent versions. Java versions 17 and 20 are currently supported.
1010

1111
JDK vendor is also interesting. Due to the changed licensing policy of Oracle, it is recommended to use open implementations of the `OpenJDK` virtual machine: AdoptOpenJDK, Liberica JDK.
1212

docs/systemRequirements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
`BSL Language Server` представляет собой консольное Java приложение, соответственно, для его функционирования необходимо наличие виртуальной машины Java на компьютере.
88

9-
На данный момент минимальной поддерживаемой версией является Java 11, но в рамках сборочных конвейеров происходит проверка работоспособности при использовании более свежих версий. На данный момент поддерживаются Java версий 11 и 17.
9+
На данный момент минимальной поддерживаемой версией является Java 17, но в рамках сборочных конвейеров происходит проверка работоспособности при использовании более свежих версий. На данный момент поддерживаются Java версий 17 и 20.
1010

1111
Кроме версии Java интересен и вендор JDK. В связи с изменившейся политикой лицензирования Oracle, рекомендуется использование открытых реализаций виртуальной машины `OpenJDK`: AdoptOpenJDK, Liberica JDK.
1212

qodana.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
version: "1.0"
22
linter: jetbrains/qodana-jvm-community:2023.1
3+
projectJDK: 17
34
profile:
45
name: qodana.starter
56
include:

src/main/java/com/github/_1c_syntax/bsl/languageserver/AutoServerInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
*/
2222
package com.github._1c_syntax.bsl.languageserver;
2323

24+
import jakarta.annotation.PostConstruct;
2425
import lombok.EqualsAndHashCode;
2526
import lombok.extern.slf4j.Slf4j;
2627
import org.springframework.beans.factory.annotation.Value;
2728
import org.springframework.stereotype.Component;
2829

29-
import javax.annotation.PostConstruct;
3030
import java.io.IOException;
3131
import java.io.InputStream;
3232
import java.io.Serializable;

src/main/java/com/github/_1c_syntax/bsl/languageserver/aop/EventPublisherAspect.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import com.github._1c_syntax.bsl.languageserver.context.events.DocumentContextContentChangedEvent;
2929
import com.github._1c_syntax.bsl.languageserver.context.events.ServerContextPopulatedEvent;
3030
import com.github._1c_syntax.bsl.languageserver.events.LanguageServerInitializeRequestReceivedEvent;
31+
import jakarta.annotation.PreDestroy;
3132
import lombok.NoArgsConstructor;
3233
import lombok.extern.slf4j.Slf4j;
3334
import org.aspectj.lang.JoinPoint;
@@ -39,7 +40,6 @@
3940
import org.springframework.context.ApplicationEventPublisher;
4041
import org.springframework.context.ApplicationEventPublisherAware;
4142

42-
import javax.annotation.PreDestroy;
4343
import java.io.File;
4444
import java.util.Collection;
4545

src/main/java/com/github/_1c_syntax/bsl/languageserver/aop/MeasuresAspect.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import com.github._1c_syntax.bsl.languageserver.context.DocumentContext;
2626
import com.github._1c_syntax.bsl.languageserver.context.ServerContext;
2727
import com.github._1c_syntax.bsl.languageserver.diagnostics.BSLDiagnostic;
28+
import jakarta.annotation.PreDestroy;
2829
import lombok.NoArgsConstructor;
2930
import lombok.Setter;
3031
import org.aspectj.lang.JoinPoint;
@@ -35,7 +36,6 @@
3536
import org.aspectj.lang.annotation.Before;
3637
import org.springframework.beans.factory.annotation.Autowired;
3738

38-
import javax.annotation.PreDestroy;
3939
import java.io.File;
4040
import java.util.Collection;
4141

0 commit comments

Comments
 (0)