- 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.
推薦閱讀
- Designing Machine Learning Systems with Python
- TypeScript Essentials
- AngularJS Testing Cookbook
- LabVIEW2018中文版 虛擬儀器程序設計自學手冊
- 機器學習系統:設計和實現
- 看透JavaScript:原理、方法與實踐
- Building a Recommendation Engine with Scala
- Lua程序設計(第4版)
- Python 3破冰人工智能:從入門到實戰
- Android 應用案例開發大全(第3版)
- Visual C++開發入行真功夫
- PHP+MySQL+Dreamweaver動態網站開發從入門到精通(第3版)
- Oracle GoldenGate 12c Implementer's Guide
- Java 9 Programming By Example
- Delphi開發典型模塊大全(修訂版)