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

Error when attempting to import project #10

Open
Mouseater opened this issue Mar 25, 2020 · 3 comments
Open

Error when attempting to import project #10

Mouseater opened this issue Mar 25, 2020 · 3 comments

Comments

@Mouseater
Copy link

I get the error below when attempting to add your plugin.
`Could not resolve all artifacts for configuration ':classpath'.

Could not find com.github.allbegray:slack-api:1.7.0.RELEASE.
Searched in the following locations:
- https://plugins.gradle.org/m2/com/github/allbegray/slack-api/1.7.0.RELEASE/slack-api-1.7.0.RELEASE.pom
Required by:
project : > com.oliverspryn.gradle.slackuploader:com.oliverspryn.gradle.slackuploader.gradle.plugin:2.1.0 > gradle.plugin.com.oliverspryn.gradle:slackuploader:2.1.0`

Project still appears to be on github, https://github.com/allbegray/slack-api

@oliverspryn
Copy link
Member

I'll look into this. My guess is that you need to add Jitpack as a source repository, like how I do it here: https://github.com/upmc-enterprises/gradle-slack-uploader-plugin/blob/develop/demo/build.gradle#L4

It is also mentioned in the Slack API project here: https://github.com/allbegray/slack-api#maven

If that is the only necessary change, I'll update the documentation to mention it. Thank you for letting me know.

@Mouseater
Copy link
Author

Mouseater commented Apr 16, 2020 via email

@Mouseater
Copy link
Author

I'll look into this. My guess is that you need to add Jitpack as a source repository, like how I do it here: https://github.com/upmc-enterprises/gradle-slack-uploader-plugin/blob/develop/demo/build.gradle#L4

It is also mentioned in the Slack API project here: https://github.com/allbegray/slack-api#maven

If that is the only necessary change, I'll update the documentation to mention it. Thank you for letting me know.

I updated my build.gradle to match how you outlined above but I still get the same error, I will put a copy of what my my code looks like below for those sections.

plugins {
    id 'java-library'
    id 'eclipse'
    id 'groovy'
    id 'maven-publish'
    id 'idea'
    id "com.oliverspryn.gradle.slackuploader" version "2.1.0"
}

repositories {
    mavenCentral()
    maven { url 'https://jitpack.io' }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants