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

can not resolve plugin artifact .foojay-resolver-convention in Oracle Linux #64

Open
pengzj opened this issue Mar 25, 2024 · 1 comment

Comments

@pengzj
Copy link

pengzj commented Mar 25, 2024

Hi there,

I encountered one error when I build my app in Oracle Linux (9.2 or 9.3) with openJDK 21

env:
gradle: 8.6
java: 21
os: Oracle Linux 9.2

Here is my settings.gradle

plugins {
    id "org.gradle.toolchains.foojay-resolver-convention" version "0.8.0"
}

rootProject.name = 'one'
include 'one-api-app'
include 'one-web-app'
include 'one-common'

How to reproduce:

step 1: gradle init (multiple subproject)
step2: gradle build

Settings file '/opt/XXXX/data/settings.gradle' line: 10

  • What went wrong:
    Plugin [id: 'org.gradle.toolchains.foojay-resolver-convention', version: '0.7.0'] 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 'org.gradle.toolchains.foojay-resolver-convention:org.gradle.toolchains.foojay-resolver-convention.gradle.plugin:0.7.0')
    Searched in the following repositories:
    Gradle Central Plugin Repository
  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

@Eshaan1999
Copy link

Check your proxy settings. I am trying to build it offline and that's when it throws an error

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