(🎁) 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>
pull/301/head
KotlinIsland 2 years ago committed by GitHub
parent ba4a334414
commit e60c373f55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save