在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):nebula-plugins/nebula-kotlin-plugin开源软件地址(OpenSource Url):https://github.com/nebula-plugins/nebula-kotlin-plugin开源编程语言(OpenSource Language):Groovy 72.7%开源软件介绍(OpenSource Introduction):Nebula Kotlin PluginThis plugin is in maintenance mode but will continue to receive 1.2 and 1.3 Kotlin releases. JetBrains has deprecated the existing
The multiplatform plugin is a complete migration from the legacy plugin and provides many of the ergonomic features, such as JVM target configuration and Kotlin library version management that this plugin provided. If you have a project that will move to 1.4 once it's released you should migrate to FeaturesProvides the Kotlin plugin via the Gradle plugin portal, and adds ergonomic improvements over the default plugin:
Quick StartRefer to the Gradle Plugin Portal for instructions on how to apply the main plugin. Basic BuildThe plugin simplifies a basic Kotlin build script to: plugins {
id 'nebula.kotlin' version '1.3.70'
}
repositories {
mavenCentral()
} Additional libraryplugins {
id 'nebula.kotlin' version '1.3.70'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-reflect'
} Default configuration ( >= 1.3.70)There are cases were we only want to use kotlin for specific configurations and applying the plugin added Starting on plugins {
id 'nebula.kotlin' version '1.3.70'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-reflect'
}
configurations {
myConfig
}
nebulaKotlin {
stdlibConfigurations = ["myConfig"]
} If you use kotlin buildscripts:
Nodep plugin ( >= 1.3.70)This plugin will apply our opinions for default version of additional dependencies but won't add plugins {
id 'nebula.kotlin-nodep' version '1.3.70'
} The version for Caveats
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论