diff --git a/src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy b/src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy index c1f25c4..825a2c5 100644 --- a/src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy +++ b/src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy @@ -231,7 +231,7 @@ class BallerinaPlugin implements Plugin { def error = new ByteArrayOutputStream() try { - exec { + project.exec { if (Os.isFamily(Os.FAMILY_WINDOWS)) { commandLine 'cmd', '/c', "bal.bat -v" } else {