Hello Community
I have a java based micronaut microservice application and am trying to include the following dependencies in my build.gradle
implementation 'com.atlassian.jira:jira-rest-java-client-api:5.2.4'
implementation 'com.atlassian.jira:jira-rest-java-client-core:5.2.4'
when i run ./gradlew assemble its complaining about this
Could not determine the dependencies of task ':shadowJar'.
> Could not resolve all dependencies for configuration ':runtimeClasspath'.
> Could not find com.atlassian.jira:jira-rest-java-client-core:5.2.4.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/atlassian/jira/jira-rest-java-client-core/5.2.5/jira-rest-java-client-core-5.2.5.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :
What am i missing? I am not having this issue importing other dependencies.
In fact nothing from here is resolvable
https://mvnrepository.com/artifact/com.atlassian.jira
This is the version of gradlew
------------------------------------------------------------
Gradle 7.5.1
------------------------------------------------------------
Thanks!
I need to add the custom repository to the repositories section
repositories {
mavenCentral()
maven{
url "https://packages.atlassian.com/repository/public"
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.