diff options
Diffstat (limited to 'gradle-plugin/build.gradle')
-rw-r--r-- | gradle-plugin/build.gradle | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/gradle-plugin/build.gradle b/gradle-plugin/build.gradle deleted file mode 100644 index 2c963a81..00000000 --- a/gradle-plugin/build.gradle +++ /dev/null @@ -1,62 +0,0 @@ -group 'org.jetbrains.dokka' -version '1.0.0-beta-1038' - -buildscript { - ext.kotlin_version = '1.0.0-beta-1038' - repositories { - mavenCentral() - maven { - url 'http://oss.sonatype.org/content/repositories/snapshots' - } - } - dependencies { - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - } -} - -apply plugin: 'java' -apply plugin: 'kotlin' -apply plugin: 'maven-publish' - -sourceCompatibility = 1.6 - -repositories { - mavenLocal() - mavenCentral() - maven { - url 'http://oss.sonatype.org/content/repositories/snapshots' - } -} - -dependencies { - testCompile group: 'junit', name: 'junit', version: '4.12' - compile "org.jetbrains.dokka:dokka-fatjar:1.0.0-beta-1038" - - 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" - } - } - } -} |