- 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.
推薦閱讀
- Ceph Cookbook
- Python爬蟲開發:從入門到實戰(微課版)
- 程序員數學:用Python學透線性代數和微積分
- Clojure for Domain:specific Languages
- Object-Oriented JavaScript(Second Edition)
- The Data Visualization Workshop
- 3D少兒游戲編程(原書第2版)
- Functional Kotlin
- Salesforce Reporting and Dashboards
- 基于SpringBoot實現:Java分布式中間件開發入門與實戰
- App Inventor創意趣味編程進階
- HTML+CSS+JavaScript編程入門指南(全2冊)
- Hands-On Neural Network Programming with C#
- C語言程序設計與應用(第2版)
- Python從入門到精通(第3版)