Run :kotlin-gradle-plugin:validateTaskProperties on every install
Previously `validateTaskProperties` was run with tests (`test` task depends on `validateTaskProperties` task). Tests run with `--continue` argument on TeamCity, so the validation was not failing remote-run builds. To fix this, make `install` depend on `validateTaskProperties`.
This commit is contained in:
@@ -131,6 +131,10 @@ tasks {
|
|||||||
failOnWarning = true
|
failOnWarning = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
named<Upload>("install") {
|
||||||
|
dependsOn(named("validateTaskProperties"))
|
||||||
|
}
|
||||||
|
|
||||||
named<DokkaTask>("dokka") {
|
named<DokkaTask>("dokka") {
|
||||||
outputFormat = "markdown"
|
outputFormat = "markdown"
|
||||||
includes = listOf("$projectDir/Module.md")
|
includes = listOf("$projectDir/Module.md")
|
||||||
|
|||||||
Reference in New Issue
Block a user