Skip to content

Commit ed93d5b

Browse files
committed
переезд на собственную реализацию антлр
1 parent 79dd86e commit ed93d5b

File tree

15 files changed

+21
-18
lines changed

15 files changed

+21
-18
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
java_version: ['17', '20']
11+
java_version: ['17', '21']
1212
os: [ubuntu-latest, windows-latest, macOS-latest]
1313
steps:
1414
- uses: actions/checkout@v4

build.gradle.kts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ gitVersioning.apply {
4545
val isSnapshot = gitVersioning.gitVersionDetails.refType != GitRefType.TAG
4646

4747
dependencies {
48-
implementation("io.github.1c-syntax", "bsl-parser-core", "0.2.0")
49-
implementation("org.antlr", "antlr4", "4.13.1")
48+
implementation("io.github.1c-syntax", "bsl-parser-core", "0.3.0")
49+
implementation("io.github.1c-syntax", "antlr4", "0.1.1")
5050
implementation("commons-io", "commons-io", "2.15.1")
5151
implementation("org.junit.jupiter", "junit-jupiter-api", "5.10.1")
5252
implementation("org.assertj", "assertj-core", "3.25.0")
@@ -90,7 +90,7 @@ tasks.check {
9090
tasks.jacocoTestReport {
9191
reports {
9292
xml.required.set(true)
93-
xml.outputLocation.set(File("$buildDir/reports/jacoco/test/jacoco.xml"))
93+
xml.outputLocation.set(File("${layout.buildDirectory.get()}/reports/jacoco/test/jacoco.xml"))
9494
}
9595
}
9696

@@ -110,7 +110,10 @@ sonar {
110110
property("sonar.projectKey", "1c-syntax_bsl-parser-testing")
111111
property("sonar.projectName", "BSL Parser Testing")
112112
property("sonar.scm.exclusions.disabled", "true")
113-
property("sonar.coverage.jacoco.xmlReportPaths", "$buildDir/reports/jacoco/test/jacoco.xml")
113+
property(
114+
"sonar.coverage.jacoco.xmlReportPaths",
115+
"${layout.buildDirectory.get()}/reports/jacoco/test/jacoco.xml"
116+
)
114117
}
115118
}
116119

src/main/java/com/github/_1c_syntax/bsl/parser/testing/LexerAsserts.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is a part of BSL Parser Testing.
33
*
4-
* Copyright (c) 2023-2024
4+
* Copyright (c) 2023-2025
55
* 1c-syntax team and Valery Maximov <maximovvalery@gmail.com>
66
*
77
* SPDX-License-Identifier: LGPL-3.0-or-later

src/main/java/com/github/_1c_syntax/bsl/parser/testing/ParserAsserts.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is a part of BSL Parser Testing.
33
*
4-
* Copyright (c) 2023-2024
4+
* Copyright (c) 2023-2025
55
* 1c-syntax team and Valery Maximov <maximovvalery@gmail.com>
66
*
77
* SPDX-License-Identifier: LGPL-3.0-or-later

src/main/java/com/github/_1c_syntax/bsl/parser/testing/ResourceUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is a part of BSL Parser Testing.
33
*
4-
* Copyright (c) 2023-2024
4+
* Copyright (c) 2023-2025
55
* 1c-syntax team and Valery Maximov <maximovvalery@gmail.com>
66
*
77
* SPDX-License-Identifier: LGPL-3.0-or-later

src/main/java/com/github/_1c_syntax/bsl/parser/testing/TestLexer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is a part of BSL Parser Testing.
33
*
4-
* Copyright (c) 2023-2024
4+
* Copyright (c) 2023-2025
55
* 1c-syntax team and Valery Maximov <maximovvalery@gmail.com>
66
*
77
* SPDX-License-Identifier: LGPL-3.0-or-later

src/main/java/com/github/_1c_syntax/bsl/parser/testing/TestParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is a part of BSL Parser Testing.
33
*
4-
* Copyright (c) 2023-2024
4+
* Copyright (c) 2023-2025
55
* 1c-syntax team and Valery Maximov <maximovvalery@gmail.com>
66
*
77
* SPDX-License-Identifier: LGPL-3.0-or-later

src/test/java/com/github/_1c_syntax/bsl/parser/testing/ResourceUtilsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is a part of BSL Parser Testing.
33
*
4-
* Copyright (c) 2023-2024
4+
* Copyright (c) 2023-2025
55
* 1c-syntax team and Valery Maximov <maximovvalery@gmail.com>
66
*
77
* SPDX-License-Identifier: LGPL-3.0-or-later

src/test/java/com/github/_1c_syntax/bsl/parser/testing/TestLexerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is a part of BSL Parser Testing.
33
*
4-
* Copyright (c) 2023-2024
4+
* Copyright (c) 2023-2025
55
* 1c-syntax team and Valery Maximov <maximovvalery@gmail.com>
66
*
77
* SPDX-License-Identifier: LGPL-3.0-or-later

src/test/java/com/github/_1c_syntax/bsl/parser/testing/TestParserTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is a part of BSL Parser Testing.
33
*
4-
* Copyright (c) 2023-2024
4+
* Copyright (c) 2023-2025
55
* 1c-syntax team and Valery Maximov <maximovvalery@gmail.com>
66
*
77
* SPDX-License-Identifier: LGPL-3.0-or-later

0 commit comments

Comments
 (0)