Skip to content

Commit 9618d4a

Browse files
committed
Merge branch 'release/v1.12.0'
2 parents 5c6d2b2 + 4c3565e commit 9618d4a

Some content is hidden

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

46 files changed

+1612
-379
lines changed

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v3
1515
- name: Set up JDK ${{ matrix.java_version }}
16-
uses: actions/setup-java@v3.3.0
16+
uses: actions/setup-java@v3.11.0
1717
with:
1818
java-version: ${{ matrix.java_version }}
1919
distribution: 'adopt'

.github/workflows/night_build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
with:
1818
ref: nigth_build
1919
- name: Set up JDK
20-
uses: actions/setup-java@v3.3.0
20+
uses: actions/setup-java@v3.11.0
2121
with:
22-
java-version: 11
22+
java-version: 17
2323
distribution: 'adopt'
2424
- name: Build with Gradle
2525
run: ./gradlew build
@@ -28,7 +28,7 @@ jobs:
2828
- name: Save current date
2929
run: echo "PLUGIN_CURRENT_DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
3030
- name: Deploy build
31-
uses: WebFreak001/deploy-nightly@v1.1.0
31+
uses: WebFreak001/deploy-nightly@v2.0.0
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434
with:

.github/workflows/qa.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
fetch-depth: ''
1717
- run: |
1818
git fetch --prune --unshallow
19-
- name: Set up JDK 11
20-
uses: actions/setup-java@v3.3.0
19+
- name: Set up JDK 17
20+
uses: actions/setup-java@v3.11.0
2121
with:
22-
java-version: 11
22+
java-version: 17
2323
distribution: 'adopt'
2424
- name: SonarCloud Scan
25-
run: ./gradlew check sonarqube
25+
run: ./gradlew check sonar
2626
env:
2727
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
- name: Checkout source
1515
uses: actions/checkout@v3
1616
- name: Set up JDK
17-
uses: actions/setup-java@v3.3.0
17+
uses: actions/setup-java@v3.11.0
1818
with:
19-
java-version: 11
19+
java-version: 17
2020
distribution: 'adopt'
2121
- name: Build with Gradle
2222
run: ./gradlew build

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,5 @@ gen/
6767
/.idea/jarRepositories.xml
6868
/.idea/vcs.xml
6969
/.idea/compiler.xml
70+
/.idea/inspectionProfiles/Project_Default.xml
71+
/.idea/misc.xml

.idea/compiler.xml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.idea/misc.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=1c-syntax_sonar-bsl-plugin-community&metric=coverage)](https://sonarcloud.io/dashboard?id=1c-syntax_sonar-bsl-plugin-community)
77

88
[![Download](https://img.shields.io/github/release/1c-syntax/sonar-bsl-plugin-community.svg?label=download&style=flat)](https://github.com/1c-syntax/sonar-bsl-plugin-community/releases/latest)
9-
[![Download night build](https://img.shields.io/github/workflow/status/1c-syntax/sonar-bsl-plugin-community/Night%20build/nigth_build?label=night%20build)](https://github.com/1c-syntax/sonar-bsl-plugin-community/releases/v999.99.99)
9+
[![Download night build](https://img.shields.io/github/downloads/1c-syntax/sonar-bsl-plugin-community/v999.99.99/total?label=night%20build)](https://github.com/1c-syntax/sonar-bsl-plugin-community/releases/v999.99.99)
1010

1111
[![telegram](https://img.shields.io/badge/telegram-chat-green.svg)](https://t.me/bsl_language_server)
1212

build.gradle.kts

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ plugins {
55
jacoco
66
java
77
`maven-publish`
8-
id("org.sonarqube") version "3.3"
8+
id("org.sonarqube") version "4.2.1.3168"
99
id("org.cadixdev.licenser") version "0.6.1"
1010
id("com.github.johnrengelman.shadow") version("7.0.0")
11-
id("com.github.ben-manes.versions") version "0.42.0"
11+
id("com.github.ben-manes.versions") version "0.47.0"
1212
id("com.github.gradle-git-version-calculator") version "1.1.0"
13-
id("io.freefair.lombok") version "6.4.3"
13+
id("io.freefair.lombok") version "8.0.1"
1414
}
1515

1616
group = "io.github.1c-syntax"
@@ -27,39 +27,55 @@ repositories {
2727
}
2828
}
2929

30-
val commonmarkVersion = "0.17.0"
3130
val sonarQubeVersion = "8.9.0.43852"
3231

3332
dependencies {
3433
implementation("org.sonarsource.sonarqube", "sonar-plugin-api", sonarQubeVersion)
3534

36-
implementation("io.github.1c-syntax", "bsl-language-server", "0.20.0")
35+
// в jitpack лежат в группе com.github.1c-syntax, в централе - io.github.1c-syntax
36+
implementation("io.github.1c-syntax", "bsl-language-server", "0.21.0") {
37+
exclude("com.github.1c-syntax", "utils")
38+
}
39+
implementation("com.github.1c-syntax", "utils", "0.5.1")
3740

3841
implementation("org.apache.commons:commons-lang3:3.12.0")
39-
implementation("com.fasterxml.jackson.core:jackson-databind:2.13.3")
42+
implementation("com.fasterxml.jackson.core:jackson-databind:2.15.2")
4043

4144
// https://mvnrepository.com/artifact/org.sonarsource.analyzer-commons/sonar-analyzer-commons
42-
implementation("org.sonarsource.analyzer-commons:sonar-analyzer-commons:1.25.0.1003")
45+
implementation("org.sonarsource.analyzer-commons:sonar-analyzer-commons:2.5.0.1358")
4346

4447
// MD to HTML converter of BSL LS rule descriptions
45-
implementation("com.atlassian.commonmark", "commonmark", commonmarkVersion)
46-
implementation("com.atlassian.commonmark", "commonmark-ext-gfm-tables", commonmarkVersion)
47-
implementation("com.atlassian.commonmark", "commonmark-ext-autolink", commonmarkVersion)
48-
implementation("com.atlassian.commonmark", "commonmark-ext-heading-anchor", commonmarkVersion)
48+
implementation("org.commonmark", "commonmark", "0.21.0")
49+
implementation("org.commonmark", "commonmark-ext-gfm-tables", "0.21.0")
50+
implementation("org.commonmark", "commonmark-ext-autolink", "0.21.0")
51+
implementation("org.commonmark", "commonmark-ext-heading-anchor", "0.21.0")
4952

50-
implementation("me.tongfei:progressbar:0.9.3")
53+
implementation("me.tongfei:progressbar:0.9.5")
5154

5255
compileOnly("com.google.code.findbugs:jsr305:3.0.2")
5356

5457
testImplementation("org.junit.jupiter", "junit-jupiter-api", "5.8.0")
5558
testRuntimeOnly("org.junit.jupiter", "junit-jupiter-engine", "5.8.0")
5659

57-
testImplementation("org.assertj:assertj-core:3.22.0")
58-
testImplementation("org.mockito:mockito-core:4.5.1")
60+
testImplementation("org.assertj:assertj-core:3.24.2")
61+
testImplementation("org.mockito:mockito-core:5.4.0")
5962

6063
testImplementation("org.sonarsource.sonarqube", "sonar-testing-harness", sonarQubeVersion)
6164
testImplementation("org.sonarsource.sonarqube", "sonar-core", sonarQubeVersion)
6265
testImplementation("org.reflections", "reflections", "0.9.12")
66+
67+
// CONSTRAINTS
68+
69+
implementation("org.slf4j:slf4j-api") {
70+
version {
71+
strictly("1.7.30")
72+
}
73+
}
74+
implementation("com.google.guava:guava") {
75+
version {
76+
strictly("30.1-jre")
77+
}
78+
}
6379
}
6480

6581
java {

docs/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,7 @@ Cвойство `sonar.bsl.acc.accRulesPaths`. Правила из постав
171171
Cвойство `sonar.bsl.acc.createExternalIssues`. Определяет как поступить с ошибками, которые были в файле, но для них
172172
не было найдено активного правила. Для фильтрации ошибок поступающих от АПК на строне sonarqube потребуется отключить
173173
свойство.
174+
175+
## Интеграция с 1C:EDT
176+
177+
Стоит воспользоваться утилитой конвертации отчета EDT в формат понятный плагину [edt-ripper](https://github.com/bia-technologies/edt_ripper)

0 commit comments

Comments
 (0)