mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-03-02 03:39:24 +00:00
code review
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Added
|
### 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
|
### Changed
|
||||||
- GitHub Actions: allow releasing plugin even for the base project
|
- GitHub Actions: allow releasing plugin even for the base project
|
||||||
|
|||||||
@@ -77,15 +77,15 @@ The properties listed define the plugin itself or configure the [gradle-intellij
|
|||||||
### Dependency on the Kotlin standard library
|
### Dependency on the Kotlin standard library
|
||||||
|
|
||||||
Since Kotlin 1.4, a dependency on a standard library (`stdlib`) is added automatically.
|
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
|
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
|
## Plugin template structure
|
||||||
|
|
||||||
|
|||||||
@@ -12,5 +12,5 @@ platformVersion = 2019.3
|
|||||||
platformDownloadSources = true
|
platformDownloadSources = true
|
||||||
|
|
||||||
# Opt-out flag for bundling Kotlin standard library.
|
# 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
|
kotlin.stdlib.default.dependency = false
|
||||||
|
|||||||
Reference in New Issue
Block a user