Issue while trying to setup the spring-boot open source project from Github

143 Views Asked by At

I was trying to setup the spring boot open source project in order to contribute it. I was going through the steps in here. I am on the main branch. When I try to run

./gradlew build

I am getting this error

* Where:
Settings file '<my local path>/spring-boot/settings.gradle' line: 26

* What went wrong:
Plugin [id: 'io.spring.ge.conventions', version: '0.0.12'] 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.spring.ge.conventions:io.spring.ge.conventions.gradle.plugin:0.0.12')
  Searched in the following repositories:
    MavenRepo
    Gradle Central Plugin Repository
    maven(https://repo.spring.io/release)
    maven2(https://repo.spring.io/snapshot)

settings.gradle contains this at line 26

    id "io.spring.ge.conventions" version "0.0.12"

From what I understand in the above log, gradle is trying to search for io.spring.ge.conventions but its not able to find it in those repositories. I haven't used gradle before so I am not sure what the issue is exactly and how to fix it.

These are my system details:

System: Mac(Intel)
java version "17.0.5" 2022-10-18 LTS
Editor: Intellij

I don't have gradle installed separately. I am using the gradle wrapper provided by the project.

Additionally I just commented out that line in settings.gradle and ran the build. It succeeded.

Can anyone help me out on this?

0

There are 0 best solutions below