diff options
Diffstat (limited to 'dokka-gradle-plugin/build.gradle')
-rw-r--r-- | dokka-gradle-plugin/build.gradle | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/dokka-gradle-plugin/build.gradle b/dokka-gradle-plugin/build.gradle deleted file mode 100644 index 76bf4e4d..00000000 --- a/dokka-gradle-plugin/build.gradle +++ /dev/null @@ -1,68 +0,0 @@ -group 'org.jetbrains.dokka' -version dokka_version - -buildscript { - dependencies { - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4' - } -} - -apply plugin: 'java' -apply plugin: 'kotlin' -apply plugin: 'maven-publish' -apply plugin: 'com.jfrog.bintray' - -sourceCompatibility = 1.6 - -dependencies { - testCompile group: 'junit', name: 'junit', version: '4.12' - compile project(':core') - - compile gradleApi() - compile localGroovy() -} - -sourceSets { - main.java.srcDirs += 'src/main/kotlin' -} - -task sourceJar(type: Jar) { - from sourceSets.main.allSource -} - -task wrapper(type: Wrapper) { - gradleVersion = '2.5' - distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip" -} - -publishing { - publications { - mavenJava(MavenPublication) { - from components.java - - artifact sourceJar { - classifier "sources" - } - } - } -} - -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 = ['mavenJava'] -} |