You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the JetBrains graddle plugin template, the in plugin.xml is generated by the build flow. It will locate the flag in the README.md, and automatically insert the description into the final plugin.xml.
The related code in build.graddle.kts is: (Link)
// Extract the <!-- Plugin description --> section from README.md and provide for the plugin's manifest
pluginDescription = providers.fileContents(layout.projectDirectory.file("README.md")).asText.map {
val start ="<!-- Plugin description -->"val end ="<!-- Plugin description end -->"with (it.lines()) {
if (!containsAll(listOf(start, end))) {
throwGradleException("Plugin description section not found in README.md:\n$start ... $end")
}
subList(indexOf(start) +1, indexOf(end)).joinToString("\n").let(::markdownToHTML)
}
}
Please add this feature into this sbt build flow. It is very useful.
The text was updated successfully, but these errors were encountered:
In the JetBrains graddle plugin template, the in plugin.xml is generated by the build flow. It will locate the flag in the README.md, and automatically insert the description into the final plugin.xml.
The related code in
build.graddle.kts
is: (Link)Please add this feature into this sbt build flow. It is very useful.
The text was updated successfully, but these errors were encountered: