Skip to content

Upgrade versions to recent and made changes to support those version … #1

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ericlentz
Copy link

…upgrades

Your article was so helpful, I wanted to update the versions so I could learn what things must be changed to support your patterns. Here's what was done:

• Updated: Kotlin to 1.7.10, com.github.johnrengelman.shadow plugin to 7.1.2, and io.micronaut.application plugin to 3.4.1
• Updated Gradle from 6.7 to 7.4.2
• Switched to build.gradle instead of build.gradle.kt for better support of variables pulled from gradle.properties. This was a preference, so I could see you changing it back.
• Updated gradlew and gradlew.bat
• Switched all occurrences of javax.inject.Singleton to jakarta.inject.Singleton. Micronaut uses that. See this guide for an example.
• Added @introspected to model data classes
• Added BsonProperty annotations to model data classes
• Removed @noarg because even with it, a constructor is required for data classes (Maybe has to do with this?)
• Minor optional changes in application.yml and logback.xml
• Added a test for the Company controller and supporting client (Note, Company collection must be empty for test execution)

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.

1 participant