- 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>
推薦閱讀
- Python快樂編程:人工智能深度學習基礎
- 數據結構和算法基礎(Java語言實現)
- C++ Builder 6.0下OpenGL編程技術
- Mastering Ubuntu Server
- 秒懂設計模式
- Access 2010數據庫應用技術(第2版)
- 一塊面包板玩轉Arduino編程
- Android嵌入式系統程序開發:基于Cortex-A8(第2版)
- 移動增值應用開發技術導論
- GitHub入門與實踐
- Django Design Patterns and Best Practices
- Android移動應用項目化教程
- Xamarin Cross-Platform Development Cookbook
- Elasticsearch搜索引擎構建入門與實戰
- Managing Windows Servers with Chef