Skip to content

Gradle Build failed for net.researchgate.release #394

Description

@Kajalagg98

Hi,
We are using Gradle 5.5 and net.researchgate.release version 2.8.1 .
When we are running gradle build we are getting following error

FAILURE: Build failed with an exception.

* Where:
Build file '/home/runners/actions-runner/_work/sp-detection-strategy/sp-detection-strategy/build.gradle' line: [34](https://github.expedia.biz/ECP/sp-detection-strategy/actions/runs/33791822/job/52549335?pr=751#step:5:35)

* What went wrong:
Plugin [id: 'net.researchgate.release', version: '2.8.1'] 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 'net.researchgate.release:net.researchgate.release.gradle.plugin:3.1.0')
  Searched in the following repositories:
    maven(https://artylab.expedia.biz/public-maven-virtual)

Following is our build.gradle code piece

buildscript {
    repositories {
        maven {
            url "$artifactory_base_url/public-maven-virtual"
            credentials {
                username = "${artifactory_user}"
                password = "${artifactory_password}"
            }
        }
        maven {
            url "$artifactory_base_url/eg-maven-release-local"
            credentials {
                username = "${artifactory_user}"
                password = "${artifactory_password}"
            }
        }
    }
    dependencies {
        classpath "org.scoverage:gradle-scoverage:${rev_gradle_scoverage}"
        classpath "com.github.maiflai:gradle-scalatest:${rev_gradle_scalatest}"
        classpath "com.amazonaws:aws-java-sdk:${rev_aws_sdk}"
        classpath ("com.github.jengelman.gradle.plugins:shadow:${rev_gradle_shadow_plugin}"){
            exclude group: "org.apache.logging.log4j", module: "log4j-core"
        }
    }
}

plugins {
    id 'net.researchgate.release' version '3.1.0'
    id 'maven-publish'
}

We checked credentials are correct and this artifact version exist in https://artylab.expedia.biz/public-maven-virtual.

Image

Can you please help us resolving this issue?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions