-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
42 lines (36 loc) · 1.16 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
plugins {
`kotlin-dsl`
alias(libs.plugins.gradle.pluginPublish)
`maven-publish`
}
group = "io.github.offrange"
version = "0.2.5"
dependencies {
implementation(libs.semantic.versioning)
implementation(libs.jGit)
implementation(libs.kotlinpoet)
compileClasspath(libs.android.gradleApi)
testImplementation(kotlin("test"))
testImplementation(libs.junit.jupiter.params)
}
kotlin {
jvmToolchain(17)
}
tasks.test {
useJUnitPlatform()
}
@Suppress("UnstableApiUsage")
gradlePlugin {
website = "https://github.com/OffRange/git-semver-gradle-plugin"
vcsUrl = "https://github.com/offrange/git-semver-gradle-plugin.git"
plugins {
create("versioning") {
displayName = "Gradle Git Semantic Versioning Plugin"
description =
"A Gradle plugin that automatically versions your project based on Git tags, following the Semantic Versioning 2.0 specification."
tags = listOf("git", "vcs", "semantic version", "semver", "versioning")
id = "$group.git-semantic-versioning"
implementationClass = "de.davis.gradle.plugin.versioning.VersioningPlugin"
}
}
}