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 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')) &&