-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
47 lines (39 loc) · 1.12 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
44
45
46
47
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"
github {
user = "joffrey-bion"
license = "MIT"
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.kohsuke:github-api:1.326")
testImplementation(kotlin("test"))
testImplementation(kotlin("test-junit5"))
testImplementation("io.mockk:mockk:1.13.14")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.11.4")
}
tasks.test {
useJUnitPlatform()
}
gradlePlugin {
plugins {
create("githubChangelogPlugin") {
id = "org.hildan.github.changelog"
displayName = "GitHub Changelog Plugin"
description = "Generates a changelog for your project based on GitHub issues"
implementationClass = "org.hildan.github.changelog.plugin.GitHubChangelogPlugin"
tags.set(listOf("github", "changelog", "generator"))
}
}
}
changelog {
githubUser = github.user
futureVersionTag = project.version.toString()
}