diff --git a/build.gradle b/build.gradle index 1b07e35bd1..18c9761d89 100644 --- a/build.gradle +++ b/build.gradle @@ -5,8 +5,6 @@ apply plugin: 'java' apply plugin: 'kotlin' apply plugin: 'application' -// apply plugin: 'org.jetbrains.dokka' - allprojects { sourceCompatibility = 1.8 targetCompatibility = 1.8 @@ -24,9 +22,6 @@ buildscript { } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - - // Dokka (JavaDoc equivalent for Kotlin) download is huge so just comment this out for now. - // classpath "org.jetbrains.dokka:dokka-gradle-plugin:0.9.6" } } diff --git a/core/build.gradle b/core/build.gradle index c5dd2d101e..3db0c676be 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -4,6 +4,23 @@ version '1.0-SNAPSHOT' apply plugin: 'java' apply plugin: 'kotlin' +buildscript { + repositories { + mavenCentral() + jcenter() + } + dependencies { + // Dokka (JavaDoc equivalent for Kotlin) download is a big download and also + // can interfere with the Kotlin compiler if it gets out of sync, version wise. + // To generate API docs, uncomment this line, then uncomment 'apply plugin' line + // below, and then run 'gradle dokka' and look in core/build/dokka/core/index.html + + // classpath "org.jetbrains.dokka:dokka-gradle-plugin:0.9.7" + } +} + +// apply plugin: 'org.jetbrains.dokka' + repositories { mavenCentral() } @@ -19,5 +36,4 @@ dependencies { // Quasar: for the bytecode rewriting for state machines. compile("co.paralleluniverse:quasar-core:${quasar_version}:jdk8") -// quasar("co.paralleluniverse:quasar-core:${quasar_version}:jdk8@jar") }