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

Problemas con Gradle 7.0 #148

Closed
coboja84 opened this issue Apr 29, 2021 · 1 comment · Fixed by #158
Closed

Problemas con Gradle 7.0 #148

coboja84 opened this issue Apr 29, 2021 · 1 comment · Fixed by #158
Labels
bug Something isn't working

Comments

@coboja84
Copy link

Al utilizar la versión 7.0 de Gradle la creación del proyecto funciona bien, sin embargo, al intentar crear un Entrypoint, o un caso de uso, o un modelo sale el siguiente error,

FAILURE: Build failed with an exception.
Where:
Build file '[project]\applications\app-service\build.gradle' line: 6

What went wrong:
A problem occurred evaluating project ':app-service'.
Could not find method compile() for arguments [org.springframework.boot:spring-boot-starter] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

@santitigaga
Copy link
Contributor

Hola en la versión de gradle 7.0 diferentes  instrucciones entre ellas compile han sido removidas del APi disponible. estaremos ajustando el plugin en el próximo release para que sea compatible con gradle 7 y las versiones anteriores.

Sin embargo para que puedas seguir usando  el plugin sin inconvenientes  te recomendamos hacer lo mismo con el wrapper de gradle.

Lo puedes generar con la siguiente instrucción:

gradle wrapper

ya con esto puedes crear el entrypoint de la siguiente forma:

./gradlew generateEntryPoint ...

@santitigaga santitigaga added the bug Something isn't working label Apr 30, 2021
@santitigaga santitigaga linked a pull request Jul 28, 2021 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants