Update build.gradle

This commit is contained in:
InsanusMokrassar 2022-07-10 01:43:08 +06:00 committed by GitHub
parent f3c07f0a7d
commit acbc6ff45b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,12 +7,14 @@ buildscript {
classpath libs.kotlin.gradle.plugin classpath libs.kotlin.gradle.plugin
classpath libs.kotlin.serialization.plugin classpath libs.kotlin.serialization.plugin
classpath libs.gh.release.plugin classpath libs.gh.release.plugin
classpath libs.jb.dokka.plugin
} }
} }
plugins { plugins {
alias libs.plugins.kotlin.jvm alias libs.plugins.kotlin.jvm
alias libs.plugins.kotlin.serialization alias libs.plugins.kotlin.serialization
id "org.jetbrains.dokka"
} }
project.group = project_group project.group = project_group
@ -31,3 +33,17 @@ dependencies {
api libs.plagubot.plugin api libs.plagubot.plugin
api libs.kslog api libs.kslog
} }
tasks.dokkaHtml {
dokkaSourceSets {
configureEach {
skipDeprecated.set(true)
sourceLink {
localDirectory.set(file("./"))
remoteUrl.set(new URL("https://github.com/InsanusMokrassar/PlaguBotCommandsPlugin/blob/master/"))
remoteLineSuffix.set("#L")
}
}
}
}