Compare commits

..

4 Commits

Author SHA1 Message Date
81a01e6b52 update gradle/kotlin jvmargs 2026-08-14 19:56:40 +06:00
f59cbaa595 update dependencies and gradle wrapper 2026-08-14 18:29:29 +06:00
6da5e5f28c start 2.9.0 2026-08-11 22:45:58 +06:00
1366fe3f34 Merge pull request #161 from InsanusMokrassar/2.9.0
2.9.0
2026-04-19 00:54:42 +06:00
5 changed files with 21 additions and 13 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

@@ -1,4 +1,5 @@
org.gradle.jvmargs=-Xmx512m org.gradle.jvmargs=-Xmx1g -Xms500m
kotlin.daemon.jvmargs=-Xmx1g -Xms500m
kotlin.code.style=official kotlin.code.style=official
org.gradle.parallel=true org.gradle.parallel=true
kotlin.js.generate.externals=true kotlin.js.generate.externals=true
@@ -9,15 +10,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 +26,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
@@ -39,4 +40,4 @@ androidx_work_version=2.11.2
## Common ## Common
version=2.9.0 version=2.9.0
android_code_version=50 android_code_version=51

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