Read property values for bintray override and publish.

This commit is contained in:
Ilya Matveev
2018-04-27 00:55:59 +07:00
committed by ilmat192
parent 7cfcb1e5dc
commit 7e0c19e67a
@@ -167,8 +167,8 @@ bintray {
name = project.version
desc = "Kotlin Native Gradle plugin $konanVersion"
}
publish = project.hasProperty("bintrayPublish")
override = project.hasProperty("bintrayOverride")
publish = project.findProperty("bintrayPublish")?.asBoolean() ?: false
override = project.findProperty("bintrayOverride")?.asBoolean() ?: false
}
publications = ['gradlePlugin']
}