Skip to content

Commit e436d19

Browse files
authored
Merge pull request #3361 from 1c-syntax/feature/deps-upgrade
2 parents ef8438b + 47ae06a commit e436d19

File tree

7 files changed

+21
-19
lines changed

7 files changed

+21
-19
lines changed

build.gradle.kts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ plugins {
1212
id("org.cadixdev.licenser") version "0.6.1"
1313
id("org.sonarqube") version "5.1.0.4882"
1414
id("io.freefair.lombok") version "8.10.2"
15-
id("io.freefair.javadoc-links") version "8.10.2"
15+
//id("io.freefair.javadoc-links") version "8.10.2"
1616
id("io.freefair.javadoc-utf-8") version "8.10.2"
1717
id("io.freefair.aspectj.post-compile-weaving") version "8.10.2"
1818
id("io.freefair.maven-central.validate-poms") version "8.10.2"
1919
id("me.qoomon.git-versioning") version "6.4.4"
2020
id("com.github.ben-manes.versions") version "0.51.0"
21-
id("org.springframework.boot") version "3.2.5"
21+
id("org.springframework.boot") version "3.3.5"
2222
id("io.spring.dependency-management") version "1.1.6"
2323
id("io.github.1c-syntax.bslls-dev-tools") version "0.8.1"
2424
id("ru.vyarus.pom") version "3.0.0"
@@ -59,7 +59,7 @@ gitProperties {
5959

6060
val isSnapshot = gitVersioning.gitVersionDetails.refType != GitRefType.TAG
6161

62-
val languageToolVersion = "6.4"
62+
val languageToolVersion = "6.5"
6363

6464
dependencyManagement {
6565
imports {
@@ -107,8 +107,8 @@ dependencies {
107107
implementation("org.aspectj", "aspectjrt", "1.9.22.1")
108108

109109
// commons utils
110-
implementation("commons-io", "commons-io", "2.16.1")
111-
implementation("org.apache.commons", "commons-lang3", "3.14.0")
110+
implementation("commons-io", "commons-io", "2.17.0")
111+
implementation("org.apache.commons", "commons-lang3", "3.17.0")
112112
implementation("commons-beanutils", "commons-beanutils", "1.9.4"){
113113
exclude("commons-logging", "commons-logging")
114114
}
@@ -135,7 +135,7 @@ dependencies {
135135
// CONSTRAINTS
136136
implementation("com.google.guava:guava") {
137137
version {
138-
strictly("33.2.1-jre")
138+
strictly("33.3.1-jre")
139139
}
140140
}
141141

@@ -151,7 +151,7 @@ dependencies {
151151

152152
// test utils
153153
testImplementation("org.jmockit", "jmockit", "1.49")
154-
testImplementation("org.awaitility", "awaitility", "4.2.1")
154+
testImplementation("org.awaitility", "awaitility", "4.2.2")
155155
}
156156

157157
lombok {
@@ -218,7 +218,7 @@ tasks.check {
218218
tasks.jacocoTestReport {
219219
reports {
220220
xml.required.set(true)
221-
xml.outputLocation.set(File("$buildDir/reports/jacoco/test/jacoco.xml"))
221+
xml.outputLocation.set(File("${layout.buildDirectory.get()}/reports/jacoco/test/jacoco.xml"))
222222
}
223223
}
224224

@@ -238,12 +238,12 @@ tasks.generateDiagnosticDocs {
238238
doLast {
239239
val resourcePath = tasks["processResources"].outputs.files.singleFile
240240
copy {
241-
from("$buildDir/docs/diagnostics")
241+
from("${layout.buildDirectory.get()}/docs/diagnostics")
242242
into("$resourcePath/com/github/_1c_syntax/bsl/languageserver/diagnostics/ru")
243243
}
244244

245245
copy {
246-
from("$buildDir/docs/en/diagnostics")
246+
from("${layout.buildDirectory.get()}/docs/en/diagnostics")
247247
into("$resourcePath/com/github/_1c_syntax/bsl/languageserver/diagnostics/en")
248248
}
249249
}
@@ -285,7 +285,7 @@ sonarqube {
285285
property("sonar.projectKey", "1c-syntax_bsl-language-server")
286286
property("sonar.projectName", "BSL Language Server")
287287
property("sonar.exclusions", "**/gen/**/*.*")
288-
property("sonar.coverage.jacoco.xmlReportPaths", "$buildDir/reports/jacoco/test/jacoco.xml")
288+
property("sonar.coverage.jacoco.xmlReportPaths", "${layout.buildDirectory.get()}/reports/jacoco/test/jacoco.xml")
289289
}
290290
}
291291

docs/diagnostics/ReservedParameterNames.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Зарезервированные имена параметра (ReservedParameterNames)
1+
# Зарезервированные имена параметров (ReservedParameterNames)
22

33
<!-- Блоки выше заполняются автоматически, не трогать -->
44
## Описание диагностики

docs/en/diagnostics/DoubleNegatives.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22

33
<!-- Блоки выше заполняются автоматически, не трогать -->
44

5-
* Description
5+
## Description
6+
7+
Описание диагностики

src/main/resources/com/github/_1c_syntax/bsl/languageserver/configuration/parameters-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1672,7 +1672,7 @@
16721672
},
16731673
"ReservedParameterNames": {
16741674
"description": "Reserved parameter names",
1675-
"default": false,
1675+
"default": true,
16761676
"type": [
16771677
"boolean",
16781678
"object"

src/main/resources/com/github/_1c_syntax/bsl/languageserver/configuration/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,4 +954,4 @@
954954
"default": "ask"
955955
}
956956
}
957-
}
957+
}

src/test/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/DiagnosticInfosTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ void testAllDiagnosticsHaveDiagnosticMessage() {
7575

7676
@Test
7777
void testAllDiagnosticsHaveDescriptionResource() {
78-
assertThatCode(() -> diagnosticInfos.values().forEach(diagnosticInfo
79-
-> assertThat(diagnosticInfo.getDescription()).isNotEmpty()))
80-
.doesNotThrowAnyException();
78+
assertThat(diagnosticInfos).allSatisfy((key, diagnosticInfo) -> {
79+
assertThat(diagnosticInfo.getDescription()).isNotEmpty();
80+
});
8181
}
8282

8383
@Test
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void testPositive() {
5454

5555
assertThat(diagnostics).hasSize(1);
5656
assertThat(diagnostics, true)
57-
.hasMessageOnRange("Переименуйте параметр \"ВидГруппыФормы\" чтобы он не совпадал с зарезервированным словом.",
57+
.hasMessageOnRange("Переименуйте параметр \"ВидГруппыФормы\" так, чтобы он не совпадал с зарезервированным словом.",
5858
2, 16, 30);
5959

6060
}

0 commit comments

Comments
 (0)