The Repository https://repo1.maven.org/maven2/ replaced by
FAILURE: the Build failed with an exception.
* Where:
Initialization script "C: \ Users \ lenovo \. Gradle \ init gradle 'line: 9
* What went wrong:
A problem occurred evaluating root project 'Server'.
Could not get unknown property 'variable' for the object of type org. Gradle. API. Internal. Artifacts. Repositories. DefaultMavenArtifactRepository.
* Try:
Run with -- stacktrace option to get the stack trace. Run with -- the info or -- debug option to get more the log output.
The BUILD FAILED