-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
43 lines (37 loc) · 1.3 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
plugins {
`kotlin-dsl`
id("com.gradle.plugin-publish") version "1.3.0"
id("org.hildan.github.changelog") version "2.2.0"
id("ru.vyarus.github-info") version "2.0.0"
}
group = "org.hildan.gradle"
description = "A Gradle plugin to automatically setup source and javadoc jar publications for Kotlin projects"
github {
user = "joffrey-bion"
license = "MIT"
}
repositories {
mavenCentral()
}
dependencies {
compileOnly("org.jetbrains.dokka:dokka-gradle-plugin:2.0.0")
compileOnly("ru.vyarus:gradle-github-info-plugin:2.0.0")
}
gradlePlugin {
plugins {
@Suppress("UnstableApiUsage")
create("kotlinPublishPlugin") {
id = "org.hildan.kotlin-publish"
displayName = "Kotlin Publish Plugin"
description = "Configures sources and Javadoc (KDoc) jars for Kotlin JVM, JS and MPP projects"
implementationClass = "org.hildan.kotlin.publish.KotlinPublishPlugin"
website = "https://github.com/joffrey-bion/gradle-kotlin-publish-plugin"
vcsUrl = "https://github.com/joffrey-bion/gradle-kotlin-publish-plugin"
tags = listOf("kotlin", "publish", "javadoc", "dokka", "kdoc", "github", "maven")
}
}
}
changelog {
githubUser = github.user
futureVersionTag = project.version.toString()
}