Compare commits

...

4 Commits

2 changed files with 9 additions and 3 deletions

View File

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

View File

@@ -3,7 +3,7 @@
kotlin = "2.3.0" kotlin = "2.3.0"
kotlin-gradle-plugin = "8.12.+" kotlin-gradle-plugin = "8.12.+"
nmcp = "1.4.3" nmcp = "1.2.1"
versions = "0.53.0" versions = "0.53.0"
dokka = "2.1.0" dokka = "2.1.0"