Skip to content

Commit 545e997

Browse files
authored
Merge pull request #69 from ballerina-platform/ballerina-plugin-update
Update Ballerina Gradle Plugin Version
2 parents f5e4db0 + 333c607 commit 545e997

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

build.gradle

+6
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,15 @@ subprojects {
6363

6464
configurations {
6565
ballerinaStdLibs
66+
jbalTools
6667
}
6768

6869
dependencies {
70+
/* JBallerina Tools */
71+
jbalTools ("org.ballerinalang:jballerina-tools:${ballerinaLangVersion}") {
72+
transitive = false
73+
}
74+
6975
/* Standard libraries */
7076
ballerinaStdLibs "io.ballerina.stdlib:file-ballerina:${stdlibFileVersion}"
7177
ballerinaStdLibs "io.ballerina.stdlib:io-ballerina:${stdlibIoVersion}"

compiler-plugin-test/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ description = 'Ballerina - Jsondata Compiler Plugin Tests'
2626

2727
dependencies {
2828
checkstyle project(':checkstyle')
29-
checkstyle "com.puppycrawl.tools:checkstyle:${puppycrawlCheckstyleVersion}"
29+
checkstyle "com.puppycrawl.tools:checkstyle:${checkstyleToolVersion}"
3030

3131
implementation project(':data.jsondata-compiler-plugin')
3232

@@ -41,7 +41,7 @@ tasks.withType(Checkstyle) {
4141
}
4242

4343
checkstyle {
44-
toolVersion "${project.puppycrawlCheckstyleVersion}"
44+
toolVersion "${project.checkstyleToolVersion}"
4545
configFile rootProject.file("build-config/checkstyle/build/checkstyle.xml")
4646
configProperties = ["suppressionFile" : file("${rootDir}/build-config/checkstyle/build/suppressions.xml")]
4747
}

compiler-plugin/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ description = 'Ballerina - JsonData Compiler Plugin'
2626

2727
dependencies {
2828
checkstyle project(':checkstyle')
29-
checkstyle "com.puppycrawl.tools:checkstyle:${puppycrawlCheckstyleVersion}"
29+
checkstyle "com.puppycrawl.tools:checkstyle:${checkstyleToolVersion}"
3030

3131
implementation group: 'org.ballerinalang', name: 'ballerina-lang', version: "${ballerinaLangVersion}"
3232
implementation group: 'org.ballerinalang', name: 'ballerina-tools-api', version: "${ballerinaLangVersion}"
@@ -39,7 +39,7 @@ tasks.withType(Checkstyle) {
3939
}
4040

4141
checkstyle {
42-
toolVersion "${project.puppycrawlCheckstyleVersion}"
42+
toolVersion "${project.checkstyleToolVersion}"
4343
configFile rootProject.file("build-config/checkstyle/build/checkstyle.xml")
4444
configProperties = ["suppressionFile" : file("${rootDir}/build-config/checkstyle/build/suppressions.xml")]
4545
}

gradle.properties

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@ version=1.0.0-SNAPSHOT
44
ballerinaLangVersion=2201.11.0-20250127-101700-a4b67fe5
55

66
checkstyleToolVersion=10.12.0
7-
puppycrawlCheckstyleVersion=10.12.0
87
testngVersion=7.6.1
98
slf4jVersion=2.0.7
109
spotbugsVersion=6.0.18
1110
shadowJarPluginVersion=8.1.1
1211
downloadPluginVersion=4.0.4
1312
releasePluginVersion=2.8.0
14-
ballerinaGradlePluginVersion=2.0.1
13+
ballerinaGradlePluginVersion=2.3.0
1514
javaJsonPathVersion=2.9.0
1615
javaJsonSmartVersion=2.4.11
1716
javaAccessorsSmartVersion=2.4.7

native/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ description = 'Ballerina - Data.Json Java Utils'
2727
dependencies {
2828
implementation 'junit:junit:4.13.1'
2929
checkstyle project(':checkstyle')
30-
checkstyle "com.puppycrawl.tools:checkstyle:${puppycrawlCheckstyleVersion}"
30+
checkstyle "com.puppycrawl.tools:checkstyle:${checkstyleToolVersion}"
3131
implementation 'org.apache.commons:commons-lang3:3.6'
3232

3333
implementation group: 'org.ballerinalang', name: 'ballerina-lang', version: "${ballerinaLangVersion}"

0 commit comments

Comments
 (0)