Read property values for bintray override and publish.
This commit is contained in:
@@ -167,8 +167,8 @@ bintray {
|
|||||||
name = project.version
|
name = project.version
|
||||||
desc = "Kotlin Native Gradle plugin $konanVersion"
|
desc = "Kotlin Native Gradle plugin $konanVersion"
|
||||||
}
|
}
|
||||||
publish = project.hasProperty("bintrayPublish")
|
publish = project.findProperty("bintrayPublish")?.asBoolean() ?: false
|
||||||
override = project.hasProperty("bintrayOverride")
|
override = project.findProperty("bintrayOverride")?.asBoolean() ?: false
|
||||||
}
|
}
|
||||||
publications = ['gradlePlugin']
|
publications = ['gradlePlugin']
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user