From f99f3f2e9707d89c8147a28fe171679efe52db96 Mon Sep 17 00:00:00 2001 From: MohamedSabthar Date: Tue, 5 Dec 2023 17:03:04 +0530 Subject: [PATCH 1/2] Fix No such file or directory error --- src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy b/src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy index c45525c..a017fc8 100644 --- a/src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy +++ b/src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy @@ -64,7 +64,7 @@ class BallerinaPlugin implements Plugin { def graalvmFlag = '' def buildOnDocker = false def ballerinaDockerTag = '' - def distributionBinPath = project.projectDir.absolutePath + "/build/jballerina-tools-${ballerinaExtension.langVersion}/bin" + def distributionBinPath = '' if (project.version.matches(project.ext.timestampedVersionRegex)) { def splitVersion = project.version.split('-') @@ -223,6 +223,9 @@ class BallerinaPlugin implements Plugin { println("[Warning] disabled code coverage: running GraalVM tests") graalvmFlag = '--graalvm' } + if (!ballerinaExtension.isConnector) { + distributionBinPath = project.projectDir.absolutePath + "/build/jballerina-tools-${ballerinaExtension.langVersion}/bin" + } project.gradle.taskGraph.whenReady { graph -> if (!(project.hasProperty('disable') || project.hasProperty('groups')) && From 3048523d81841ce02732dbe59e9427ce71365552 Mon Sep 17 00:00:00 2001 From: MohamedSabthar Date: Tue, 5 Dec 2023 17:03:56 +0530 Subject: [PATCH 2/2] Bump minor version --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 364209e..ed21506 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ group=io.ballerina -version=2.1.9-SNAPSHOT +version=2.2.0-SNAPSHOT