Add Plugin Verifier configuration

ijpgp-2.0-EAP
Jakub Chrzanowski 2 months ago
parent a85b41764d
commit 329e8eb860
No known key found for this signature in database
GPG Key ID: C39095BFD769862E

@ -47,6 +47,7 @@ dependencies {
plugins(properties("platformPlugins").map { it.split(',') })
instrumentationTools()
pluginVerifier()
testFramework(TestFrameworkType.Platform.JUnit4)
}
}
@ -61,7 +62,7 @@ intellijPlatform {
val start = "<!-- Plugin description -->"
val end = "<!-- Plugin description end -->"
with (it.lines()) {
with(it.lines()) {
if (!containsAll(listOf(start, end))) {
throw GradleException("Plugin description section not found in README.md:\n$start ... $end")
}
@ -101,6 +102,12 @@ intellijPlatform {
// https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel
channels = properties("pluginVersion").map { listOf(it.substringAfter('-', "").substringBefore('.').ifEmpty { "default" }) }
}
verifyPlugin {
ides {
recommended()
}
}
}
// Configure Gradle Changelog Plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin

Loading…
Cancel
Save