- Kotlin for Enterprise Applications using Java EE
- Raghavendra Rao K
- 25字
- 2021-06-10 18:49:29
Using the all-open plugin in Maven
The all-open plugin for Maven can be used as follows:
<plugin>
<artifactId>kotlin-maven-plugin</artifactId>
<groupId>org.jetbrains.kotlin</groupId>
<version>${kotlin.version}</version>
<configuration>
<compilerPlugins>
<plugin>all-open</plugin>
</compilerPlugins>
<pluginOptions>
<option>all-open:all-open:annotation=javax.inject.Inject</option>
<option>all-open:annotation=all-open:annotation=javax.ejb.Stateless</option>
</pluginOptions>
</configuration>
<dependencies>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-allopen</artifactId>
<version>${kotlin.version}</version>
</dependency>
</dependencies>
</plugin>
推薦閱讀
- UI設計基礎培訓教程
- Java從入門到精通(第4版)
- 從學徒到高手:汽車電路識圖、故障檢測與維修技能全圖解
- Getting Started with Hazelcast(Second Edition)
- 學習OpenCV 4:基于Python的算法實戰
- OpenCV 4計算機視覺項目實戰(原書第2版)
- Learning Unreal Engine Android Game Development
- Visual Foxpro 9.0數據庫程序設計教程
- 深入理解C指針
- IoT Projects with Bluetooth Low Energy
- Building Slack Bots
- Java 9:Building Robust Modular Applications
- Python趣味創意編程
- INSTANT Apache Maven Starter
- Python編程基礎與數據分析