Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
adibmbrk opened this issue Jun 20, 2024 · 0 comments
Labels

Comments

@adibmbrk
Copy link

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/*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant