From 2dde989aa40bc178bd19d85715ced54b8de92c86 Mon Sep 17 00:00:00 2001 From: bluefireoly Date: Mon, 28 Sep 2020 23:30:51 +0200 Subject: [PATCH] Added dokka --- build.gradle.kts | 10 ++++++++-- settings.gradle.kts | 12 ++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 3b1137a5..50f59cf3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,6 +1,6 @@ @file:Suppress("PropertyName") -import java.util.Date +import java.util.* /* * BUILD CONSTANTS @@ -21,9 +21,12 @@ version = "1.16.3_R5" description = "A Kotlin API for the Minecraft Server Software \"Spigot\"." +/* + * PLUGINS + */ + plugins { - java kotlin("jvm") version "1.4.10" maven @@ -31,6 +34,8 @@ plugins { id("com.jfrog.bintray") version "1.8.5" + id("org.jetbrains.dokka") version "1.4.10" + } /* @@ -40,6 +45,7 @@ plugins { repositories { mavenCentral() mavenLocal() // for retrieving the local available binaries of spigot (use the BuildTools) + jcenter() } dependencies { diff --git a/settings.gradle.kts b/settings.gradle.kts index e4052aef..f4816c5d 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,2 +1,14 @@ rootProject.name = "KSpigot" +/* + * PLUGINS + */ + +pluginManagement { + + repositories { + gradlePluginPortal() + jcenter() + } + +} \ No newline at end of file