Skip to content

Commit 4709a94

Browse files
authored
Merge pull request #3123 from 1c-syntax/develop
0.22.0
2 parents fc23d36 + 00d2a4e commit 4709a94

File tree

64 files changed

+549
-134
lines changed

Some content is hidden

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

64 files changed

+549
-134
lines changed

.github/scripts/build-jpackage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def build_image(base_dir, image_prefix, executable_file):
2323
cmd_args.append('--type')
2424
cmd_args.append('app-image')
2525
cmd_args.append('--java-options')
26-
cmd_args.append('-Xmx2g')
26+
cmd_args.append('-Xmx3g')
2727

2828
cmd = ' '.join(cmd_args)
2929
os.system(cmd)

.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

.github/workflows/qa.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ jobs:
5454
distribution: 'temurin'
5555
- name: SonarCloud Scan on PR
5656
if: github.event.workflow_run.event == 'pull_request'
57-
run: ./gradlew check sonarqube -Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} -Dsonar.pullrequest.key=${{ fromJson(steps.get_pr_data.outputs.data).number }} -Dsonar.pullrequest.branch=${{ fromJson(steps.get_pr_data.outputs.data).head.ref }} -Dsonar.pullrequest.base=${{ fromJson(steps.get_pr_data.outputs.data).base.ref }}
57+
run: ./gradlew check sonar -Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} -Dsonar.pullrequest.key=${{ fromJson(steps.get_pr_data.outputs.data).number }} -Dsonar.pullrequest.branch=${{ fromJson(steps.get_pr_data.outputs.data).head.ref }} -Dsonar.pullrequest.base=${{ fromJson(steps.get_pr_data.outputs.data).base.ref }}
5858
env:
5959
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
6060
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6161
- name: SonarCloud Scan on push
6262
if: github.event.workflow_run.event == 'push' && github.event.workflow_run.head_repository.full_name == github.event.repository.full_name
63-
run: ./gradlew check sonarqube -Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} -Dsonar.branch.name=${{ github.event.workflow_run.head_branch }}
63+
run: ./gradlew check sonar -Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} -Dsonar.branch.name=${{ github.event.workflow_run.head_branch }}
6464
env:
6565
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
6666
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/qodana.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v3
2222
- name: 'Qodana Scan'
23-
uses: JetBrains/[email protected]
23+
uses: JetBrains/[email protected]
24+
env:
25+
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
2426
with:
2527
linter: jetbrains/qodana-jvm-community
2628
- uses: github/codeql-action/upload-sarif@v2

build.gradle.kts

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ plugins {
88
jacoco
99
signing
1010
id("org.cadixdev.licenser") version "0.6.1"
11-
id("org.sonarqube") version "4.0.0.2929"
12-
id("io.freefair.lombok") version "6.6.1"
13-
id("io.freefair.javadoc-links") version "6.6.1"
14-
id("io.freefair.javadoc-utf-8") version "6.6.1"
15-
id("io.freefair.aspectj.post-compile-weaving") version "6.6.1"
16-
id("io.freefair.maven-central.validate-poms") version "6.6.1"
11+
id("org.sonarqube") version "4.3.0.3225"
12+
id("io.freefair.lombok") version "8.1.0"
13+
id("io.freefair.javadoc-links") version "8.1.0"
14+
id("io.freefair.javadoc-utf-8") version "8.1.0"
15+
id("io.freefair.aspectj.post-compile-weaving") version "8.1.0"
16+
id("io.freefair.maven-central.validate-poms") version "8.1.0"
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"
20-
id("io.spring.dependency-management") version "1.1.0"
21-
id("io.github.1c-syntax.bslls-dev-tools") version "0.7.2"
19+
id("org.springframework.boot") version "3.1.2"
20+
id("io.spring.dependency-management") version "1.1.2"
21+
id("io.github.1c-syntax.bslls-dev-tools") version "0.7.3"
2222
id("ru.vyarus.pom") version "2.2.2"
2323
id("com.gorylenko.gradle-git-properties") version "2.4.1"
2424
id("io.codearte.nexus-staging") version "0.30.0"
@@ -56,7 +56,7 @@ val languageToolVersion = "6.1"
5656

5757
dependencyManagement {
5858
imports {
59-
mavenBom("io.sentry:sentry-bom:6.22.0")
59+
mavenBom("io.sentry:sentry-bom:6.27.0")
6060
}
6161
}
6262

@@ -71,10 +71,10 @@ 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
77-
api("com.github.1c-syntax", "bsl-parser", "0.22.0") {
77+
api("com.github.1c-syntax", "bsl-parser", "bba7c0b091aca562ec082829a49f525a9bb5d7ef") {
7878
exclude("com.tunnelvisionlabs", "antlr4-annotations")
7979
exclude("com.ibm.icu", "*")
8080
exclude("org.antlr", "ST4")
@@ -88,7 +88,9 @@ dependencies {
8888
api("io.github.1c-syntax", "supportconf", "0.1.1")
8989

9090
// JLanguageTool
91-
implementation("org.languagetool", "languagetool-core", languageToolVersion)
91+
implementation("org.languagetool", "languagetool-core", languageToolVersion){
92+
exclude("commons-logging", "commons-logging")
93+
}
9294
implementation("org.languagetool", "language-en", languageToolVersion)
9395
implementation("org.languagetool", "language-ru", languageToolVersion)
9496

@@ -98,7 +100,9 @@ dependencies {
98100
// commons utils
99101
implementation("commons-io", "commons-io", "2.13.0")
100102
implementation("org.apache.commons", "commons-lang3", "3.12.0")
101-
implementation("commons-beanutils", "commons-beanutils", "1.9.4")
103+
implementation("commons-beanutils", "commons-beanutils", "1.9.4"){
104+
exclude("commons-logging", "commons-logging")
105+
}
102106
implementation("org.apache.commons", "commons-collections4", "4.4")
103107
implementation("org.apache.commons", "commons-exec", "1.3")
104108

@@ -150,8 +154,8 @@ jacoco {
150154
}
151155

152156
java {
153-
sourceCompatibility = JavaVersion.VERSION_11
154-
targetCompatibility = JavaVersion.VERSION_11
157+
sourceCompatibility = JavaVersion.VERSION_17
158+
targetCompatibility = JavaVersion.VERSION_17
155159
withSourcesJar()
156160
withJavadocJar()
157161
}
@@ -237,7 +241,6 @@ tasks.generateDiagnosticDocs {
237241
}
238242

239243
tasks.javadoc {
240-
isFailOnError = false
241244
options {
242245
this as StandardJavadocDocletOptions
243246
links(

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
44
networkTimeout=10000
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)