allprojects { group 'org.jetbrains.dokka' version dokka_version buildscript { repositories { mavenCentral() jcenter() maven { url "https://dl.bintray.com/kotlin/kotlin-eap" } maven { url "https://dl.bintray.com/kotlin/kotlin-dev" } } dependencies { classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7' classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3' } } repositories { mavenCentral() mavenLocal() maven { url "https://dl.bintray.com/kotlin/kotlin-eap" } maven { url "https://dl.bintray.com/kotlin/kotlin-dev" } } } def bintrayPublication(project, List _publications) { configure(project, { apply plugin: 'com.jfrog.bintray' bintray { user = System.getenv('BINTRAY_USER') key = System.getenv('BINTRAY_KEY') pkg { repo = dokka_eap.toBoolean() ? 'kotlin-eap' : 'dokka' name = 'dokka' userOrg = 'kotlin' desc = 'Dokka, the Kotlin documentation tool' vcsUrl = 'https://github.com/kotlin/dokka.git' licenses = ['Apache-2.0'] version { name = dokka_version } } publications = _publications } }) } task wrapper(type: Wrapper) { gradleVersion = '2.14.1' distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip" }