mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
Resolve ktlint reports
This commit is contained in:
parent
741869f9cc
commit
86bde4433d
@ -11,6 +11,9 @@
|
|||||||
- Dependencies - bump ktlint to 9.3.0
|
- Dependencies - bump ktlint to 9.3.0
|
||||||
- GitHub Actions - make *Update Changelog* job dependent on the *Publish Plugin*
|
- GitHub Actions - make *Update Changelog* job dependent on the *Publish Plugin*
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Resolve ktlint reports
|
||||||
|
|
||||||
## [0.3.1]
|
## [0.3.1]
|
||||||
### Changed
|
### Changed
|
||||||
- GitHub Actions - run plugin verifier against 2019.3 2020.1 2020.2
|
- GitHub Actions - run plugin verifier against 2019.3 2020.1 2020.2
|
||||||
|
@ -91,7 +91,8 @@ tasks {
|
|||||||
untilBuild(pluginUntilBuild)
|
untilBuild(pluginUntilBuild)
|
||||||
|
|
||||||
// Extract the <!-- Plugin description --> section from README.md and provide for the plugin's manifest
|
// Extract the <!-- Plugin description --> section from README.md and provide for the plugin's manifest
|
||||||
pluginDescription(closure {
|
pluginDescription(
|
||||||
|
closure {
|
||||||
File("./README.md").readText().lines().run {
|
File("./README.md").readText().lines().run {
|
||||||
val start = "<!-- Plugin description -->"
|
val start = "<!-- Plugin description -->"
|
||||||
val end = "<!-- Plugin description end -->"
|
val end = "<!-- Plugin description end -->"
|
||||||
@ -101,12 +102,15 @@ tasks {
|
|||||||
}
|
}
|
||||||
subList(indexOf(start) + 1, indexOf(end))
|
subList(indexOf(start) + 1, indexOf(end))
|
||||||
}.joinToString("\n").run { markdownToHTML(this) }
|
}.joinToString("\n").run { markdownToHTML(this) }
|
||||||
})
|
}
|
||||||
|
)
|
||||||
|
|
||||||
// Get the latest available change notes from the changelog file
|
// Get the latest available change notes from the changelog file
|
||||||
changeNotes(closure {
|
changeNotes(
|
||||||
|
closure {
|
||||||
changelog.getLatest().toHTML()
|
changelog.getLatest().toHTML()
|
||||||
})
|
}
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
publishPlugin {
|
publishPlugin {
|
||||||
|
Loading…
Reference in New Issue
Block a user