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

Does not work #675

Closed
1 task done
YunaBraska opened this issue Mar 1, 2023 · 0 comments
Closed
1 task done

Does not work #675

YunaBraska opened this issue Mar 1, 2023 · 0 comments

Comments

@YunaBraska
Copy link

  • I have read the [guidelines for submitting issues (https://jmfayard.github.io/refreshVersions/contributing/submitting-issues/)

Continues #674

🐛 Describe the bug

./gradlew refreshVersions

FAILURE: Build failed with an exception.

* Where:
Build file 'build.gradle' line: 2

* What went wrong:
An exception occurred applying plugin request [id: 'de.fayard.refreshVersions', version: '0.51.0']
> Failed to apply plugin 'de.fayard.refreshVersions'.
   > plugins.id("de.fayard.refreshVersions") must be configured in settings.gradle(.kts), not in build.gradle(.kts).
     See https://jmfayard.github.io/refreshVersions/setup/

* 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

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
  4. Run ./gradlew refreshVersions
  5. 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
@LouisCAD LouisCAD closed this as not planned Won't fix, can't repro, duplicate, stale Mar 1, 2023
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