Compare commits

..

4 Commits
3.0.0 ... 2.9.0

Author SHA1 Message Date
aaf1103809 update dependencies 2026-04-19 00:53:18 +06:00
c2d1f0fc1a start 2.9.0 2026-04-19 00:27:53 +06:00
a472d11b88 fix (?) of publishing 2026-03-05 22:50:57 +06:00
6cc3181d7f Merge pull request #155 from InsanusMokrassar/2.8.0
2.8.0
2026-03-05 18:28:45 +06:00
6 changed files with 56 additions and 48 deletions

View File

@@ -1,21 +1,5 @@
# Changelog
## 3.0.0
* `Version`:
* `Kotlin`: `2.3.21` -> `2.4.10`
* `Gradle`: `9.3.0` -> `9.7.1`
* `Android Gradle Plugin`: `8.13.+` -> `9.3.2`
* `Android` (compileSdk): `36` -> `37`
* `Android Build Tools`: `36.0.0` -> `37.0.0`
* `NMCP`: `1.5.0` -> `1.6.1`
## 2.10.0
* `Version`:
* `Kotlin`: `2.3.21`
* `Coroutines`: `1.11.0`
## 2.9.0
* `Version`:

View File

@@ -33,7 +33,7 @@ allprojects {
}
}
apply plugin: "com.android.kotlin.multiplatform.library"
apply plugin: "com.android.library"
project.version = "$version"
project.group = "dev.inmo"
@@ -71,15 +71,11 @@ kotlin {
browser()
nodejs()
}
android {
compileSdk = "$android_compileSdkVersion".toInteger()
buildToolsVersion = "$android_buildToolsVersion"
minSdk = "$android_minSdkVersion".toInteger()
namespace = "${project.group}.${project.name}"
compilerOptions.jvmTarget.set(
compilerOptions.jvmTarget.get().class.fromTarget("17")
androidTarget {
publishLibraryVariants(
"release",
"debug",
)
withHostTest {}
}
linuxX64()
mingwX64()
@@ -126,7 +122,7 @@ kotlin {
implementation kotlin('test-js')
}
}
androidHostTest {
androidUnitTest {
dependencies {
implementation kotlin('test-junit')
}
@@ -136,6 +132,39 @@ kotlin {
apply plugin: 'com.getkeepsafe.dexcount'
android {
compileSdk "$android_compileSdkVersion".toInteger()
buildToolsVersion = "$android_buildToolsVersion"
namespace "${group}.${project.name}"
defaultConfig {
minSdkVersion "$android_minSdkVersion".toInteger()
targetSdkVersion "$android_compileSdkVersion".toInteger()
versionCode "${android_code_version}".toInteger()
versionName "$version"
}
buildTypes {
release {
minifyEnabled false
}
debug {
debuggable true
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
test {
java.srcDir file("src/jvmTest")
}
}
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17

View File

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

View File

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

View File

@@ -1,22 +1,23 @@
org.gradle.jvmargs=-Xmx1g -Xms500m
kotlin.daemon.jvmargs=-Xmx1g -Xms500m
org.gradle.jvmargs=-Xmx512m
kotlin.code.style=official
org.gradle.parallel=true
kotlin.js.generate.externals=true
kotlin.incremental=true
kotlin.incremental.js=true
kotlin.incremental.multiplatform=true
android.useAndroidX=true
android.enableJetifier=false
kotlin_version=2.4.10
kotlin_coroutines_version=1.11.0
kotlin_version=2.3.20
kotlin_coroutines_version=1.10.2
kotlin_serialization_version=1.11.0
dokka_version=2.2.0
klockVersion=5.4.0
nmcp_version=1.6.1
nmcp_version=1.4.4
## Github reease
@@ -24,10 +25,10 @@ github_release_plugin_version=2.5.2
## Android
android_gradle_version=9.3.2
android_gradle_version=8.12.+
android_minSdkVersion=21
android_compileSdkVersion=37
android_buildToolsVersion=37.0.0
android_compileSdkVersion=36
android_buildToolsVersion=36.0.0
dexcount_version=4.0.0
junit_version=4.13.2
test_ext_junit_version=1.3.0
@@ -37,5 +38,5 @@ androidx_work_version=2.11.2
## Common
version=3.0.0
android_code_version=52
version=2.9.0
android_code_version=50

View File

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