Skip to content

Added necessary build.gradle file changes for Gradle 7+ - #30

Open
sermaz wants to merge 16 commits into
Apress:masterfrom
sermaz:master
Open

sermaz wants to merge 16 commits into
Apress:masterfrom
sermaz:master

Conversation

@sermaz

@sermaz sermaz commented Aug 8, 2021

Copy link
Copy Markdown

No description provided.

@iuliana

iuliana commented Aug 31, 2021

Copy link
Copy Markdown
Collaborator

Hi @sermaz ,

This is a lot of work and I appreciate it, but it feels weird to me to change the project to support a build tool, when in most cases it is the other way around. :)

I'll take a look at your changes as soon as I can and merge them if they are still in line with the code in the book.
Thank you for your contribution!

Cheers,
Iuliana Cosmina

@iuliana

iuliana commented Sep 7, 2021

Copy link
Copy Markdown
Collaborator

Hello sermaz,

Thank you for the initiative, but the project doesn't seem to build with Gradle 7. Have you even tried a full build?
I will try to make it work, because you've made me curious, but I won't merge your commits until the full build passes.

Cheers,
Iuliana Cosmina

@valentyn-nagay

Copy link
Copy Markdown

@iuliana everything works! I am so happy to find this pull request! I had many problems making it run with Gradle 7.*. Maybe, it will be great to provide instructions on how to configure Gradle's older version in Intellij IDEA at least, if you are not planning to merge this pull.

@iuliana

iuliana commented Dec 16, 2021

Copy link
Copy Markdown
Collaborator

@iuliana everything works! I am so happy to find this pull request! I had many problems making it run with Gradle 7.*. Maybe, it will be great to provide instructions on how to configure Gradle's older version in Intellij IDEA at least, if you are not planning to merge this pull.

@valentyn-nahai the older version of Gradle, which is 5.x, the one mentioned in the README.md , works out of the box with the tests and the AspectJ module. This pull request does not. This is why I am not merging it.

@valentyn-nagay

Copy link
Copy Markdown

Thanks for the update! I appreciate your answer.

@iuliana

iuliana commented Dec 16, 2021

Copy link
Copy Markdown
Collaborator

Thanks for the update! I appreciate your answer.

@valentyn-nahai this project is pretty old. Upgrading it to Gradle 7 might require changes that are making it incompatible with the text in the book. The book does explain a few details about the Gradle configurations and plugins used. Some of those plugins are not maintained nor upgraded to more recent Gradle versions. But there will be a book called "Pro Spring 6" in a year or two. ;)

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

Successfully merging this pull request may close these issues.

3 participants