update dependencies and gradle wrapper

This commit is contained in:
2026-08-14 18:29:29 +06:00
parent 6da5e5f28c
commit f59cbaa595
5 changed files with 18 additions and 11 deletions

View File

@@ -1,11 +1,17 @@
interface InjectedExecOps {
@Inject //@javax.inject.Inject
ExecOperations getExecOps()
}
private String getCurrentVersionChangelog(String version) {
OutputStream changelogDataOS = new ByteArrayOutputStream()
exec {
def injected = project.objects.newInstance(InjectedExecOps)
injected.execOps.exec {
commandLine 'chmod', "+x", './changelog_parser.sh'
}
exec {
injected.execOps.exec {
standardOutput = changelogDataOS
commandLine './changelog_parser.sh', "$version", 'CHANGELOG.md'
commandLine './changelog_parser.sh', version, 'CHANGELOG.md'
}
return changelogDataOS.toString().trim()