From 4f21fefa3db3c0eda4b54f78d65842b9bff4324f Mon Sep 17 00:00:00 2001 From: Thisaru Guruge Date: Fri, 31 Jan 2025 15:45:11 +0530 Subject: [PATCH] Fix build scripts --- ballerina/build.gradle | 20 ++------------------ gradle.properties | 1 + settings.gradle | 1 + 3 files changed, 4 insertions(+), 18 deletions(-) diff --git a/ballerina/build.gradle b/ballerina/build.gradle index faf7bf4b..78baf6e3 100644 --- a/ballerina/build.gradle +++ b/ballerina/build.gradle @@ -17,23 +17,9 @@ import org.apache.tools.ant.taskdefs.condition.Os -buildscript { - repositories { - maven { - url = 'https://maven.pkg.github.com/ballerina-platform/plugin-gradle' - credentials { - username System.getenv("packageUser") - password System.getenv("packagePAT") - } - } - } - dependencies { - classpath "io.ballerina:plugin-gradle:${project.ballerinaGradlePluginVersion}" - } -} - plugins { - id 'com.github.psxpaul.execfork' version '0.2.0' + id 'com.github.psxpaul.execfork' + id 'io.ballerina.plugin' } description = 'Ballerina - Ballerina FTP Library' @@ -61,8 +47,6 @@ def stripBallerinaExtensionVersion(String extVersion) { } } -apply plugin: 'io.ballerina.plugin' - ballerina { packageOrganization = packageOrg module = packageName diff --git a/gradle.properties b/gradle.properties index f174d684..a23570fe 100644 --- a/gradle.properties +++ b/gradle.properties @@ -22,6 +22,7 @@ spotbugsPluginVersion=6.0.18 shadowJarPluginVersion=8.1.1 downloadPluginVersion=5.4.0 releasePluginVersion=2.8.0 +execForkPluginVersion=0.2.0 ballerinaGradlePluginVersion=2.3.0 diff --git a/settings.gradle b/settings.gradle index c4935c53..bbb199a0 100644 --- a/settings.gradle +++ b/settings.gradle @@ -14,6 +14,7 @@ pluginManagement { id "de.undercouch.download" version "${downloadPluginVersion}" id "net.researchgate.release" version "${releasePluginVersion}" id "io.ballerina.plugin" version "${ballerinaGradlePluginVersion}" + id "com.github.psxpaul.execfork" version "${execForkPluginVersion}" } repositories {