aerogear / keycloak-metrics-spi

Adds a Metrics Endpoint to Keycloak
Apache License 2.0
551 stars 156 forks source link

does not build with gradle 7 #106

Closed jelly closed 3 years ago

jelly commented 3 years ago

Description

Running gradle jar fails with an error.

Environment

Steps to reproduce

[jelle@t14][/tmp/keycloak-metrics-spi/trunk/keycloak-metrics-spi-2.4.0]%gradle jar

FAILURE: Build failed with an exception.

* Where:
Build file '/tmp/keycloak-metrics-spi/trunk/keycloak-metrics-spi-2.4.0/build.gradle' line: 33

* What went wrong:
A problem occurred evaluating root project 'keycloak-metrics-spi'.
> Could not find method compile() for arguments [{group=org.keycloak, name=keycloak-server-spi-private, version=12.0.1}] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

* 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/7.0.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 698ms
pb82 commented 3 years ago

fixed with #109