Fix README.md resolution

In some build environments projectDir may differ from current working directory. In such environments build before this change would fail with IOException.
pull/114/head
Ilya Muradyan 3 years ago committed by Jakub Chrzanowski
parent df2e2320cd
commit 4f47d78be9

@ -87,7 +87,7 @@ tasks {
// Extract the <!-- Plugin description --> section from README.md and provide for the plugin's manifest
pluginDescription(
closure {
File("./README.md").readText().lines().run {
File(projectDir, "README.md").readText().lines().run {
val start = "<!-- Plugin description -->"
val end = "<!-- Plugin description end -->"

Loading…
Cancel
Save