Skip to content

Commit 7eec4fb

Browse files
committed
Make gitHash function work with Groovy
1 parent e87a966 commit 7eec4fb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
group = "dev.arbjerg"
9-
version = "1.0.3"
9+
version = "1.0.4"
1010

1111
repositories {
1212
mavenCentral()

src/main/kotlin/LavalinkExtension.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ interface LavalinkExtension {
3737
* The plugins root package (if different to [Project.getGroup]).
3838
*/
3939
val path: Property<String>
40-
}
4140

42-
/**
43-
* Creates a Lavalink version for [gitHash].
44-
*/
45-
fun gitHash(gitHash: String) = "$gitHash-SNAPSHOT"
41+
/**
42+
* Creates a Lavalink version for [gitHash].
43+
*/
44+
fun gitHash(gitHash: String) = "$gitHash-SNAPSHOT"
45+
}

0 commit comments

Comments
 (0)