Skip to content

Commit

Permalink
Update the platform version in Ballerina Build
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisaruGuruge committed Jan 31, 2025
1 parent 0cf25f1 commit 31a40fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class BallerinaPlugin implements Plugin<Project> {
def ballerinaExtension = project.extensions.create('ballerina', BallerinaExtension)

def packageOrg = ''
def platform = 'java17'
def platform = 'java21'
def tomlVersion
def balBuildTarget = 'build/bal_build_target'
def balaArtifact = new File("$project.projectDir/build/bala_unzipped/")
Expand Down Expand Up @@ -350,7 +350,7 @@ class BallerinaPlugin implements Plugin<Project> {
commandLine 'cmd', '/c', "bal.bat push ${balBuildTarget}/bala/${packageOrg}-${packageName}-${platform}-${balaVersion}.bala --repository=local && exit %%ERRORLEVEL%%"
} else {
commandLine 'sh', '-c', "bal push ${balBuildTarget}/bala/${packageOrg}-${packageName}-${platform}-${balaVersion}.bala --repository=local"
}
}
}
}
}
Expand Down

0 comments on commit 31a40fe

Please sign in to comment.