- Hands-On Microservices with Kotlin
- Juan Antonio Medina Iglesias
- 141字
- 2021-06-30 19:10:53
Build
The build definition is composed of several elements under the build tag; for example, the source and test folders for our project, so the compiler can find them.
The different Maven plugins will be configured within the plugins tag.
Mainly, we can see two plugins included, spring-boot Maven plugin, as no version is specified it will be determined by the default version on the BOM, and the Kotlin Maven plugin to build our Kotlin code. When we compile, we can see a dependency for the compiler plugin is included called all-open, that is required by Spring.
In Kotlin, all classes and members are final by default. This plugin allows that when we use some specific annotations those member are open, so they can be modified, this is required by the @Autowired annotation that will be discussed further in this chapter.
推薦閱讀
- Kali Linux Web Penetration Testing Cookbook
- Docker進階與實戰
- Leap Motion Development Essentials
- Unity Virtual Reality Projects
- C語言程序設計學習指導與習題解答
- .NET Standard 2.0 Cookbook
- Hacking Android
- JavaScript Concurrency
- Mastering ArcGIS Server Development with JavaScript
- 你必須知道的.NET(第2版)
- Apache Kafka 1.0 Cookbook
- Learn C Programming
- Spring Microservices
- 軟件自動化測試實戰解析:基于Python3編程語言
- Python編程零基礎入門