官术网_书友最值得收藏!

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>
主站蜘蛛池模板: 延寿县| 乌苏市| 化州市| 林西县| 汕头市| 大连市| 洛南县| 荣成市| 黔西县| 合阳县| 武邑县| 新乐市| 宝清县| 诏安县| 盐源县| 哈密市| 卢龙县| 甘孜| 穆棱市| 镇江市| 屏南县| 承德市| 巢湖市| 高淳县| 兴化市| 千阳县| 文安县| 双流县| 商河县| 扬州市| 合作市| 乳山市| 甘孜| 盱眙县| 安塞县| 南汇区| 靖远县| 洞口县| 海林市| 龙门县| 崇明县|