|
1 | | -import java.util.Calendar |
2 | 1 | import org.jreleaser.model.Active.* |
| 2 | +import java.util.* |
3 | 3 |
|
4 | 4 | plugins { |
5 | 5 | `java-library` |
@@ -50,25 +50,26 @@ gitVersioning.apply { |
50 | 50 | } |
51 | 51 |
|
52 | 52 | dependencies { |
53 | | - antlr("io.github.1c-syntax", "antlr4", "0.3.0-rc.2") { |
| 53 | + antlr("io.github.1c-syntax:antlr4:0.3.0") |
| 54 | + |
| 55 | + // testing |
| 56 | + testImplementation("io.github.1c-syntax:bsl-parser-testing:0.5.0") { |
54 | 57 | exclude("org.antlr:antlr-runtime") |
55 | 58 | exclude("org.antlr:ST4") |
56 | 59 | } |
57 | 60 |
|
58 | | - // testing |
59 | | - testImplementation("io.github.1c-syntax", "bsl-parser-testing", "0.5.0-rc.1") |
60 | | - |
61 | | - testImplementation("org.junit.jupiter", "junit-jupiter-api", "5.11.4") |
62 | | - testImplementation("org.junit.jupiter", "junit-jupiter-engine", "5.11.4") |
63 | | - testImplementation("org.junit.jupiter", "junit-jupiter-params", "5.11.4") |
64 | | - testImplementation("org.assertj", "assertj-core", "3.27.0") |
| 61 | + testImplementation(platform("org.junit:junit-bom:6.0.3")) |
| 62 | + testImplementation("org.junit.jupiter:junit-jupiter-api") |
| 63 | + testImplementation("org.junit.jupiter:junit-jupiter-params") |
| 64 | + testImplementation("org.assertj:assertj-core:3.27.7") |
65 | 65 |
|
| 66 | + testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine") |
66 | 67 | testRuntimeOnly("org.junit.platform:junit-platform-launcher") |
67 | 68 | } |
68 | 69 |
|
69 | 70 | java { |
70 | | - sourceCompatibility = JavaVersion.VERSION_17 |
71 | | - targetCompatibility = JavaVersion.VERSION_17 |
| 71 | + sourceCompatibility = JavaVersion.VERSION_21 |
| 72 | + targetCompatibility = JavaVersion.VERSION_21 |
72 | 73 | withSourcesJar() |
73 | 74 | withJavadocJar() |
74 | 75 | } |
@@ -201,8 +202,10 @@ sonar { |
201 | 202 | property("sonar.projectKey", "1c-syntax_bsl-parser") |
202 | 203 | property("sonar.projectName", "BSL Parser") |
203 | 204 | property("sonar.scm.exclusions.disabled", "true") |
204 | | - property("sonar.coverage.jacoco.xmlReportPaths", |
205 | | - "${layout.buildDirectory.get()}/reports/jacoco/test/jacoco.xml") |
| 205 | + property( |
| 206 | + "sonar.coverage.jacoco.xmlReportPaths", |
| 207 | + "${layout.buildDirectory.get()}/reports/jacoco/test/jacoco.xml" |
| 208 | + ) |
206 | 209 | } |
207 | 210 | } |
208 | 211 |
|
|
0 commit comments