mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
(🎁) Use file
instead of projectDir.resolve
(#293)
* Use `file` instead of `projectDir.resolve` * CHANGELOG.md update Co-authored-by: KotlinIsland <kotlinisland@users.noreply.github.com> Co-authored-by: Jakub Chrzanowski <jakub.chrzanowski@jetbrains.com>
This commit is contained in:
parent
ba4a334414
commit
e60c373f55
@ -3,8 +3,16 @@
|
||||
# IntelliJ Platform Plugin Template Changelog
|
||||
|
||||
## [Unreleased]
|
||||
### Added
|
||||
- GitHub Actions - mark the pull request created with _Publish Plugin_ workflow with `release changelog` label
|
||||
|
||||
### Changed
|
||||
- Dependencies - upgrade `org.jetbrains.intellij` to `1.8.1`
|
||||
- Use `file` instead of `projectDir.resolve` in Gradle configuration file
|
||||
|
||||
### Fixed
|
||||
- Update broken link in `gradle.properties`
|
||||
- GitHub Actions - use `$BRANCH` for creating changelog pull request
|
||||
|
||||
### Fixed
|
||||
- Update broken link in `gradle.properties`
|
||||
|
@ -48,8 +48,8 @@ changelog {
|
||||
|
||||
// Configure Gradle Qodana Plugin - read more: https://github.com/JetBrains/gradle-qodana-plugin
|
||||
qodana {
|
||||
cachePath.set(projectDir.resolve(".qodana").canonicalPath)
|
||||
reportPath.set(projectDir.resolve("build/reports/inspections").canonicalPath)
|
||||
cachePath.set(file(".qodana").canonicalPath)
|
||||
reportPath.set(file("build/reports/inspections").canonicalPath)
|
||||
saveReport.set(true)
|
||||
showReport.set(System.getenv("QODANA_SHOW_REPORT")?.toBoolean() ?: false)
|
||||
}
|
||||
@ -66,7 +66,7 @@ tasks {
|
||||
|
||||
// Extract the <!-- Plugin description --> section from README.md and provide for the plugin's manifest
|
||||
pluginDescription.set(
|
||||
projectDir.resolve("README.md").readText().lines().run {
|
||||
file("README.md").readText().lines().run {
|
||||
val start = "<!-- Plugin description -->"
|
||||
val end = "<!-- Plugin description end -->"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user