@@ -21,39 +21,44 @@ repositories {
2121 maven(" https://central.sonatype.com/repository/maven-snapshots" )
2222}
2323
24- val sonarQubeVersion = " 9.9.0.65466"
24+ val sonarQubeVersion = " 25.4.0.105899"
25+ val commonmarkVersion = " 0.27.1"
2526
2627dependencies {
27- compileOnly(" org.sonarsource.api.plugin" , " sonar-plugin-api" , " 9.14 .0.375 " )
28+ compileOnly(" org.sonarsource.api.plugin" , " sonar-plugin-api" , " 11.3 .0.2824 " )
2829
2930 implementation(" io.github.1c-syntax" , " bsl-language-server" , " 0.28.5" ) {
3031 exclude(" com.contrastsecurity" , " java-sarif" )
3132 exclude(" io.sentry" , " sentry-logback" )
3233 exclude(" info.picocli" , " picocli-spring-boot-starter" )
3334 exclude(" me.tongfei" , " progressbar" )
3435 }
35- implementation(" org.sonarsource.analyzer-commons" , " sonar-analyzer-commons" , " 2.5 .0.1358 " )
36+ implementation(" org.sonarsource.analyzer-commons" , " sonar-analyzer-commons" , " 2.21 .0.4626 " )
3637
3738 // MD to HTML converter of BSL LS rule descriptions
38- implementation(" org.commonmark" , " commonmark" , " 0.24.0" )
39- implementation(" org.commonmark" , " commonmark-ext-gfm-tables" , " 0.24.0" )
40- implementation(" org.commonmark" , " commonmark-ext-autolink" , " 0.24.0" )
41- implementation(" org.commonmark" , " commonmark-ext-heading-anchor" , " 0.24.0" )
42-
43- testImplementation(" org.junit.jupiter" , " junit-jupiter-api" , " 5.11.4" )
44- testImplementation(" org.assertj" , " assertj-core" , " 3.27.0" )
45- testImplementation(" org.mockito" , " mockito-core" , " 5.14.2" )
46- testImplementation(" org.sonarsource.sonarqube" , " sonar-testing-harness" , sonarQubeVersion)
47- testImplementation(" org.sonarsource.sonarqube" , " sonar-core" , sonarQubeVersion)
39+ implementation(" org.commonmark" , " commonmark" , commonmarkVersion)
40+ implementation(" org.commonmark" , " commonmark-ext-gfm-tables" , commonmarkVersion)
41+ implementation(" org.commonmark" , " commonmark-ext-autolink" , commonmarkVersion)
42+ implementation(" org.commonmark" , " commonmark-ext-heading-anchor" , commonmarkVersion)
43+
44+ testImplementation(" org.junit.jupiter" , " junit-jupiter-api" , " 6.0.3" )
45+ testImplementation(" org.assertj" , " assertj-core" , " 3.27.7" )
46+ testImplementation(" org.mockito" , " mockito-core" , " 5.21.0" )
47+ testImplementation(" org.sonarsource.sonarqube" , " sonar-testing-harness" , sonarQubeVersion) {
48+ exclude(" org.sonarsource.sonarqube" , " sonar-sarif" )
49+ }
50+ testImplementation(" org.sonarsource.sonarqube" , " sonar-core" , sonarQubeVersion) {
51+ exclude(" org.sonarsource.sonarqube" , " sonar-sarif" )
52+ }
4853 testImplementation(" org.reflections" , " reflections" , " 0.10.2" )
4954
50- testRuntimeOnly(" org.junit.jupiter" , " junit-jupiter-engine" , " 5.11.4 " )
51- testRuntimeOnly(" org.junit.platform: junit-platform-launcher:1.11.4 " )
55+ testRuntimeOnly(" org.junit.jupiter" , " junit-jupiter-engine" , " 6.0.3 " )
56+ testRuntimeOnly(" org.junit.platform" , " junit-platform-launcher" , " 6.0.3 " )
5257}
5358
5459java {
55- sourceCompatibility = JavaVersion .VERSION_17
56- targetCompatibility = JavaVersion .VERSION_17
60+ sourceCompatibility = JavaVersion .VERSION_21
61+ targetCompatibility = JavaVersion .VERSION_21
5762}
5863
5964tasks.withType<JavaCompile > {
@@ -127,7 +132,6 @@ tasks.jar {
127132 attributes[" Plugin-Developers" ] = " Alexey Sosnoviy, Nikita Fedkin"
128133
129134 attributes[" SonarLint-Supported" ] = false
130- attributes[" Sonar-Version" ] = sonarQubeVersion
131135
132136 attributes[" Plugin-Organization" ] = " 1c-syntax"
133137 attributes[" Plugin-OrganizationUrl" ] = " https://github.com/1c-syntax"
0 commit comments