ballerina-platform / ballerina-library

The Ballerina Library
https://ballerina.io/learn/api-docs/ballerina/
Apache License 2.0
136 stars 64 forks source link

Cannot resolve the Ballerina Gradle plugin dependency when building a ballerina library package on Windows #6647

Open adibmbrk opened 5 months ago

adibmbrk commented 5 months ago

Description: I tried to build the ballerina library package for the slack connector using the following command.

gradle command: gradlew clean build --info

However im running into the following error.

gradle error:

> Configure project :slack-ballerina
Evaluating project ':slack-ballerina' using build file 'C:\Users\Adib Samoon\Desktop\Projects\module-ballerinax-slack\ballerina\build.gradle'.
Resource missing. [HTTP GET: https://jcenter.bintray.com/io/ballerina/plugin/io.ballerina.plugin.gradle.plugin/2.2.4/io.ballerina.plugin.gradle.plugin-2.2.4.pom]

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\Adib Samoon\Desktop\Projects\module-ballerinax-slack\ballerina\build.gradle' line: 22

* What went wrong:
Plugin [id: 'io.ballerina.plugin', version: '2.2.4'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'io.ballerina.plugin:io.ballerina.plugin.gradle.plugin:2.2.4')        
  Searched in the following repositories:
    Gradle Central Plugin Repository
    maven(https://maven.pkg.github.com/ballerina-platform/*)