- 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.
推薦閱讀
- ASP.NET Core:Cloud-ready,Enterprise Web Application Development
- iOS 9 Game Development Essentials
- 劍指Offer(專項突破版):數據結構與算法名企面試題精講
- Web Development with Django Cookbook
- Dependency Injection in .NET Core 2.0
- GeoServer Beginner's Guide(Second Edition)
- Learning Vaadin 7(Second Edition)
- Android Wear Projects
- 一本書講透Java線程:原理與實踐
- Learning Ionic
- Getting Started with Python
- Python函數式編程(第2版)
- 征服C指針(第2版)
- Visual FoxPro程序設計習題及實驗指導
- Extending Docker