Skip to content

Commit

Permalink
Merge pull request #3361 from 1c-syntax/feature/deps-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 authored Nov 10, 2024
2 parents ef8438b + 47ae06a commit e436d19
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 19 deletions.
22 changes: 11 additions & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ plugins {
id("org.cadixdev.licenser") version "0.6.1"
id("org.sonarqube") version "5.1.0.4882"
id("io.freefair.lombok") version "8.10.2"
id("io.freefair.javadoc-links") version "8.10.2"
//id("io.freefair.javadoc-links") version "8.10.2"
id("io.freefair.javadoc-utf-8") version "8.10.2"
id("io.freefair.aspectj.post-compile-weaving") version "8.10.2"
id("io.freefair.maven-central.validate-poms") version "8.10.2"
id("me.qoomon.git-versioning") version "6.4.4"
id("com.github.ben-manes.versions") version "0.51.0"
id("org.springframework.boot") version "3.2.5"
id("org.springframework.boot") version "3.3.5"
id("io.spring.dependency-management") version "1.1.6"
id("io.github.1c-syntax.bslls-dev-tools") version "0.8.1"
id("ru.vyarus.pom") version "3.0.0"
Expand Down Expand Up @@ -59,7 +59,7 @@ gitProperties {

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

val languageToolVersion = "6.4"
val languageToolVersion = "6.5"

dependencyManagement {
imports {
Expand Down Expand Up @@ -107,8 +107,8 @@ dependencies {
implementation("org.aspectj", "aspectjrt", "1.9.22.1")

// commons utils
implementation("commons-io", "commons-io", "2.16.1")
implementation("org.apache.commons", "commons-lang3", "3.14.0")
implementation("commons-io", "commons-io", "2.17.0")
implementation("org.apache.commons", "commons-lang3", "3.17.0")
implementation("commons-beanutils", "commons-beanutils", "1.9.4"){
exclude("commons-logging", "commons-logging")
}
Expand All @@ -135,7 +135,7 @@ dependencies {
// CONSTRAINTS
implementation("com.google.guava:guava") {
version {
strictly("33.2.1-jre")
strictly("33.3.1-jre")
}
}

Expand All @@ -151,7 +151,7 @@ dependencies {

// test utils
testImplementation("org.jmockit", "jmockit", "1.49")
testImplementation("org.awaitility", "awaitility", "4.2.1")
testImplementation("org.awaitility", "awaitility", "4.2.2")
}

lombok {
Expand Down Expand Up @@ -218,7 +218,7 @@ tasks.check {
tasks.jacocoTestReport {
reports {
xml.required.set(true)
xml.outputLocation.set(File("$buildDir/reports/jacoco/test/jacoco.xml"))
xml.outputLocation.set(File("${layout.buildDirectory.get()}/reports/jacoco/test/jacoco.xml"))
}
}

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

copy {
from("$buildDir/docs/en/diagnostics")
from("${layout.buildDirectory.get()}/docs/en/diagnostics")
into("$resourcePath/com/github/_1c_syntax/bsl/languageserver/diagnostics/en")
}
}
Expand Down Expand Up @@ -285,7 +285,7 @@ sonarqube {
property("sonar.projectKey", "1c-syntax_bsl-language-server")
property("sonar.projectName", "BSL Language Server")
property("sonar.exclusions", "**/gen/**/*.*")
property("sonar.coverage.jacoco.xmlReportPaths", "$buildDir/reports/jacoco/test/jacoco.xml")
property("sonar.coverage.jacoco.xmlReportPaths", "${layout.buildDirectory.get()}/reports/jacoco/test/jacoco.xml")
}
}

Expand Down
2 changes: 1 addition & 1 deletion docs/diagnostics/ReservedParameterNames.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Зарезервированные имена параметра (ReservedParameterNames)
# Зарезервированные имена параметров (ReservedParameterNames)

<!-- Блоки выше заполняются автоматически, не трогать -->
## Описание диагностики
Expand Down
4 changes: 3 additions & 1 deletion docs/en/diagnostics/DoubleNegatives.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

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

* Description
## Description

Описание диагностики
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,7 @@
},
"ReservedParameterNames": {
"description": "Reserved parameter names",
"default": false,
"default": true,
"type": [
"boolean",
"object"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -954,4 +954,4 @@
"default": "ask"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ void testAllDiagnosticsHaveDiagnosticMessage() {

@Test
void testAllDiagnosticsHaveDescriptionResource() {
assertThatCode(() -> diagnosticInfos.values().forEach(diagnosticInfo
-> assertThat(diagnosticInfo.getDescription()).isNotEmpty()))
.doesNotThrowAnyException();
assertThat(diagnosticInfos).allSatisfy((key, diagnosticInfo) -> {
assertThat(diagnosticInfo.getDescription()).isNotEmpty();
});
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void testPositive() {

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

}
Expand Down

0 comments on commit e436d19

Please sign in to comment.