code review

This commit is contained in:
Jakub Chrzanowski
2020-10-02 11:37:40 +02:00
parent 7e2b12d1b2
commit a17073193b
3 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
## [Unreleased]
### Added
- Opt-out flag for bundling Kotlin standard library by default
- Fix default to opt-out of bundling Kotlin standard library in plugin distribution
### Changed
- GitHub Actions: allow releasing plugin even for the base project

View File

@@ -77,15 +77,15 @@ The properties listed define the plugin itself or configure the [gradle-intellij
### Dependency on the Kotlin standard library
Since Kotlin 1.4, a dependency on a standard library (`stdlib`) is added automatically.
In most cases, it is not necessary to attach such libraries within the bundled plugin.
In most cases, it is not necessary to distribute this library with a plugin.
The [gradle.properties][file:gradle.properties] file explicitly alters the default behaviour of the Kotlin plugin using the opt-out property:
The [gradle.properties][file:gradle.properties] file explicitly alters the default behaviour of the Kotlin Gradle plugin by specifying this opt-out property:
```
kotlin.stdlib.default.dependency = false
```
For more details, read: [Dependency on the standard library][kotlin-docs-dependency-on-stdlib].
For more details, please see: [Dependency on the standard library][kotlin-docs-dependency-on-stdlib] in Kotlin documentation~~~~.
## Plugin template structure

View File

@@ -12,5 +12,5 @@ platformVersion = 2019.3
platformDownloadSources = true
# Opt-out flag for bundling Kotlin standard library.
# Read more: https://kotlinlang.org/docs/reference/using-gradle.html#dependency-on-the-standard-library
# See https://kotlinlang.org/docs/reference/using-gradle.html#dependency-on-the-standard-library for details.
kotlin.stdlib.default.dependency = false