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

@@ -3,7 +3,8 @@
## 2.9.0 ## 2.9.0
* `Version`: * `Version`:
* `Kotlin`: `2.3.20` * `Kotlin`: `2.3.21`
* `Coroutines`: `1.11.0`
* `Serialization`: `1.11.0` * `Serialization`: `1.11.0`
* `Dokka`: `2.2.0` * `Dokka`: `2.2.0`
* `AndroidXWork`: `2.11.2` * `AndroidXWork`: `2.11.2`

View File

@@ -1,4 +1,4 @@
dokkaHtml { dokka {
String dokkaOutputDirectoryPath = null String dokkaOutputDirectoryPath = null
switch (true) { switch (true) {
case project.hasProperty("DOKKA_PATH"): case project.hasProperty("DOKKA_PATH"):
@@ -32,7 +32,7 @@ dokkaHtml {
sourceLink { sourceLink {
localDirectory.set(file("./")) localDirectory.set(file("./"))
remoteUrl.set(new URL("https://github.com/InsanusMokrassar/krontab/blob/master/")) remoteUrl.set(new URI("https://github.com/InsanusMokrassar/krontab/blob/master/"))
remoteLineSuffix.set("#L") remoteLineSuffix.set("#L")
} }
} }

View File

@@ -1,11 +1,17 @@
interface InjectedExecOps {
@Inject //@javax.inject.Inject
ExecOperations getExecOps()
}
private String getCurrentVersionChangelog(String version) { private String getCurrentVersionChangelog(String version) {
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', "$version", 'CHANGELOG.md' commandLine './changelog_parser.sh', version, 'CHANGELOG.md'
} }
return changelogDataOS.toString().trim() return changelogDataOS.toString().trim()

View File

@@ -9,15 +9,15 @@ android.useAndroidX=true
android.enableJetifier=false android.enableJetifier=false
kotlin_version=2.3.20 kotlin_version=2.3.21
kotlin_coroutines_version=1.10.2 kotlin_coroutines_version=1.11.0
kotlin_serialization_version=1.11.0 kotlin_serialization_version=1.11.0
dokka_version=2.2.0 dokka_version=2.2.0
klockVersion=5.4.0 klockVersion=5.4.0
nmcp_version=1.4.4 nmcp_version=1.5.0
## Github reease ## Github reease
@@ -25,7 +25,7 @@ github_release_plugin_version=2.5.2
## Android ## Android
android_gradle_version=8.12.+ android_gradle_version=8.13.+
android_minSdkVersion=21 android_minSdkVersion=21
android_compileSdkVersion=36 android_compileSdkVersion=36
android_buildToolsVersion=36.0.0 android_buildToolsVersion=36.0.0

View File

@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.4-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.0-bin.zip