File tree Expand file tree Collapse file tree 4 files changed +23
-19
lines changed
Expand file tree Collapse file tree 4 files changed +23
-19
lines changed Original file line number Diff line number Diff line change 1616 */
1717import org.apache.tools.ant.taskdefs.condition.Os
1818
19- buildscript {
20- repositories {
21- maven {
22- url = ' https://maven.pkg.github.com/ballerina-platform/plugin-gradle'
23- credentials {
24- username System . getenv(" packageUser" )
25- password System . getenv(" packagePAT" )
26- }
27- }
28- }
29- dependencies {
30- classpath " io.ballerina:plugin-gradle:${ project.ballerinaGradlePluginVersion} "
31- }
19+ plugins {
20+ id ' io.ballerina.plugin'
3221}
3322
34-
3523description = ' Ballerina - Random Ballerina Generator'
3624
3725def packageName = " random"
@@ -54,8 +42,6 @@ def stripBallerinaExtensionVersion(String extVersion) {
5442 }
5543}
5644
57- apply plugin : ' io.ballerina.plugin'
58-
5945ballerina {
6046 packageOrganization = packageOrg
6147 module = packageName
Original file line number Diff line number Diff line change 1616 */
1717
1818plugins {
19- id " com.github.spotbugs-base "
19+ id " com.github.spotbugs"
2020 id " com.github.johnrengelman.shadow"
2121 id " de.undercouch.download"
2222 id " net.researchgate.release"
@@ -64,9 +64,15 @@ subprojects {
6464
6565 configurations {
6666 ballerinaStdLibs
67+ jbalTools
6768 }
6869
6970 dependencies {
71+ /* JBallerina Tools */
72+ jbalTools (" org.ballerinalang:jballerina-tools:${ ballerinaLangVersion} " ) {
73+ transitive = false
74+ }
75+
7076 /* Standard libraries */
7177 ballerinaStdLibs " io.ballerina.stdlib:time-ballerina:${ project.stdlibTimeVersion} "
7278 }
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ spotbugsPluginVersion=6.0.18
77shadowJarPluginVersion =7.1.2
88downloadPluginVersion =5.4.0
99releasePluginVersion =2.6.0
10- ballerinaGradlePluginVersion =2.0.1
10+ ballerinaGradlePluginVersion =2.3.0
1111
1212ballerinaLangVersion =2201.11.0-20250127-101700-a4b67fe5
1313
Original file line number Diff line number Diff line change 99
1010pluginManagement {
1111 plugins {
12- id " com.github.spotbugs-base " version " ${ spotbugsPluginVersion} "
12+ id " com.github.spotbugs" version " ${ spotbugsPluginVersion} "
1313 id " com.github.johnrengelman.shadow" version " ${ shadowJarPluginVersion} "
1414 id " de.undercouch.download" version " ${ downloadPluginVersion} "
1515 id " net.researchgate.release" version " ${ releasePluginVersion} "
16+ id " io.ballerina.plugin" version " ${ ballerinaGradlePluginVersion} "
17+ }
18+
19+ repositories {
20+ gradlePluginPortal()
21+ maven {
22+ url = ' https://maven.pkg.github.com/ballerina-platform/*'
23+ credentials {
24+ username System . getenv(" packageUser" )
25+ password System . getenv(" packagePAT" )
26+ }
27+ }
1628 }
1729}
1830
You can’t perform that action at this time.
0 commit comments