Skip to content

Commit 9f8b53f

Browse files
I forgor to return, oopsie. gradle isn't real dw
1 parent bcc3e08 commit 9f8b53f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,12 +256,12 @@ tasks.withType(JavaCompile).configureEach {
256256
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
257257
}
258258

259-
def changelogGet() {
259+
String changelogGet() {
260260
var vals = rootProject.file("CHANGELOG.md").readLines()
261261
do {
262262
vals.drop(1)
263263
} while(!vals.first().startsWith("## "))
264-
vals.takeWhile { !it.startsWith("## ") }.join("/n").trim()
264+
return vals.takeWhile { !it.startsWith("## ") }.join("/n").trim()
265265
}
266266

267267
publishMods {

0 commit comments

Comments
 (0)