Splitties / refreshVersions

Life is too short to google for dependencies and versions
https://splitties.github.io/refreshVersions/
MIT License
1.63k stars 107 forks source link

Does not work #675

Closed YunaBraska closed 1 year ago

YunaBraska commented 1 year ago

Continues #674

🐛 Describe the bug

./gradlew refreshVersions


FAILURE: Build failed with an exception.

BUILD FAILED in 353ms


## ⚠️ Current behavior
Does not work out of the box. Entering `./gradlew refreshVersions`  returns the error `plugins.id("de.fayard.refreshVersions") must be configured in settings.gradle(.kts), not in build.gradle(.kts).`

## ✅ Expected behavior
Should work out of the box

## 💣 Steps to reproduce
1) Setup Gradle 7.6
2) Create a simple `build.gradle` with `spring boot 3`
3) Add `id 'de.fayard.refreshVersions' version '0.51.0'` to  `build.gradle`
3) Run `./gradlew refreshVersions`
4) Receive error

## 📱 Tech info

Gradle 7.6

Build time: 2022-11-25 13:35:10 UTC Revision: daece9dbc5b79370cc8e4fd6fe4b2cd400e150a8

Kotlin: 1.7.10 Groovy: 3.0.13 Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021 JVM: 17.0.1 (Azul Systems, Inc. 17.0.1+12-LTS) OS: Mac OS X 13.2.1 aarch64