Compare commits

...

9 Commits

Author SHA1 Message Date
renovate[bot]
16d8c2c40d Update kotlin monorepo to v2.3.20 2026-03-16 09:49:06 +00: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
133f731000 fill changelog 2026-03-05 18:27:48 +06:00
20d44bd531 update dependencies 2026-03-05 18:24:32 +06:00
4ec9dacbae update dependencies
org.jetbrains.kotlinx:kotlinx-coroutines-core 1.10.1 -> 1.10.2
org.jetbrains.kotlinx:kotlinx-serialization-core 1.8.0 -> 1.8.1
org.jetbrains.dokka:dokka-gradle-plugin 2.0.0 -> 2.1.0
androidx.work:work-runtime-ktx 2.10.0 -> 2.11.1
com.android.tools.build:gradle 8.7.2 -> 8.10.1
junit:junit 4.12 -> 4.13.2
androidx.test.ext:junit 1.1.3 -> 1.3.0
androidx.test.espresso:espresso-core 3.4.0 -> 3.7.0
2026-02-10 17:19:15 +06:00
ddab74152e start 2.8.0 2025-08-04 14:10:57 +06:00
2cce483dc8 update github_release to support environment variables 2025-05-16 12:44:14 +06:00
fe5cdbefe8 Merge pull request #143 from InsanusMokrassar/2.7.2
2.7.2
2025-02-15 21:23:58 +06:00
7 changed files with 87 additions and 50 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## 2.8.0
* `Version`:
* `Kotlin`: `2.3.10`
* `Coroutines`: `1.10.2`
* `Serialization`: `1.10.0`
* `AndroidXWork`: `2.11.1`
* `Android` (compileSdk): `36`
## 2.7.2
* `Version`:

View File

@@ -19,6 +19,7 @@ plugins {
id "org.jetbrains.kotlin.multiplatform" version "$kotlin_version"
id "org.jetbrains.kotlin.plugin.serialization" version "$kotlin_version"
id "org.jetbrains.dokka" version "$dokka_version"
id "com.gradleup.nmcp.aggregation" version "$nmcp_version"
}
// temporal crutch until legacy tests will be stabled or legacy target will be removed
@@ -40,6 +41,20 @@ project.group = "dev.inmo"
apply from: "publish.gradle"
apply from: "github_release.gradle"
if ((project.hasProperty('SONATYPE_USER') || System.getenv('SONATYPE_USER') != null) && (project.hasProperty('SONATYPE_PASSWORD') || System.getenv('SONATYPE_PASSWORD') != null)) {
nmcpAggregation {
centralPortal {
username = project.hasProperty('SONATYPE_USER') ? project.property('SONATYPE_USER') : System.getenv('SONATYPE_USER')
password = project.hasProperty('SONATYPE_PASSWORD') ? project.property('SONATYPE_PASSWORD') : System.getenv('SONATYPE_PASSWORD')
validationTimeout = Duration.ofHours(4)
publishingType = System.getenv('PUBLISHING_TYPE') != "" ? System.getenv('PUBLISHING_TYPE') : "USER_MANAGED"
}
publishAllProjectsProbablyBreakingProjectIsolation()
}
}
repositories {
mavenLocal()
// jcenter()
@@ -56,8 +71,11 @@ kotlin {
browser()
nodejs()
}
android {
publishAllLibraryVariants()
androidTarget {
publishLibraryVariants(
"release",
"debug",
)
}
linuxX64()
mingwX64()

0
changelog_parser.sh Normal file → Executable file
View File

View File

@@ -11,12 +11,20 @@ private String getCurrentVersionChangelog(String version) {
return changelogDataOS.toString().trim()
}
if (new File(projectDir, "secret.gradle").exists()) {
apply from: './secret.gradle'
def githubTokenVariableName = "GITHUB_RELEASE_TOKEN"
def githubTokenVariableFromEnv = System.getenv(githubTokenVariableName)
def secretFile = new File(projectDir, "secret.gradle")
if (secretFile.exists() || project.hasProperty(githubTokenVariableName) || (githubTokenVariableFromEnv != "" && githubTokenVariableFromEnv != null)) {
if (secretFile.exists()) {
apply from: './secret.gradle'
}
apply plugin: "com.github.breadmoirai.github-release"
def githubReleaseToken = project.hasProperty(githubTokenVariableName) ? project.property(githubTokenVariableName).toString() : githubTokenVariableFromEnv
githubRelease {
token "${project.property('GITHUB_RELEASE_TOKEN')}"
token githubReleaseToken
owner = "InsanusMokrassar"
repo = "${rootProject.name}"

View File

@@ -9,32 +9,34 @@ android.useAndroidX=true
android.enableJetifier=false
kotlin_version=2.1.10
kotlin_coroutines_version=1.10.1
kotlin_serialization_version=1.8.0
kotlin_version=2.3.20
kotlin_coroutines_version=1.10.2
kotlin_serialization_version=1.10.0
dokka_version=2.0.0
dokka_version=2.1.0
klockVersion=5.4.0
nmcp_version=1.4.4
## Github reease
github_release_plugin_version=2.5.2
## Android
android_gradle_version=8.7.2
android_gradle_version=8.12.+
android_minSdkVersion=21
android_compileSdkVersion=35
android_buildToolsVersion=35.0.0
android_compileSdkVersion=36
android_buildToolsVersion=36.0.0
dexcount_version=4.0.0
junit_version=4.12
test_ext_junit_version=1.1.3
espresso_core=3.4.0
junit_version=4.13.2
test_ext_junit_version=1.3.0
espresso_core=3.7.0
androidx_work_version=2.10.0
androidx_work_version=2.11.1
## Common
version=2.7.2
android_code_version=48
version=2.8.0
android_code_version=49

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-8.12.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.4-bin.zip

View File

@@ -37,42 +37,42 @@ publishing {
}
}
repositories {
if ((project.hasProperty('GITHUBPACKAGES_USER') || System.getenv('GITHUBPACKAGES_USER') != null) && (project.hasProperty('GITHUBPACKAGES_PASSWORD') || System.getenv('GITHUBPACKAGES_PASSWORD') != null)) {
maven {
name = "GithubPackages"
url = uri("https://maven.pkg.github.com/InsanusMokrassar/krontab")
credentials {
username = project.hasProperty('GITHUBPACKAGES_USER') ? project.property('GITHUBPACKAGES_USER') : System.getenv('GITHUBPACKAGES_USER')
password = project.hasProperty('GITHUBPACKAGES_PASSWORD') ? project.property('GITHUBPACKAGES_PASSWORD') : System.getenv('GITHUBPACKAGES_PASSWORD')
}
}
repositories {
if ((project.hasProperty('GITHUBPACKAGES_USER') || System.getenv('GITHUBPACKAGES_USER') != null) && (project.hasProperty('GITHUBPACKAGES_PASSWORD') || System.getenv('GITHUBPACKAGES_PASSWORD') != null)) {
maven {
name = "GithubPackages"
url = uri("https://maven.pkg.github.com/InsanusMokrassar/krontab")
credentials {
username = project.hasProperty('GITHUBPACKAGES_USER') ? project.property('GITHUBPACKAGES_USER') : System.getenv('GITHUBPACKAGES_USER')
password = project.hasProperty('GITHUBPACKAGES_PASSWORD') ? project.property('GITHUBPACKAGES_PASSWORD') : System.getenv('GITHUBPACKAGES_PASSWORD')
}
}
if ((project.hasProperty('INMONEXUS_USER') || System.getenv('INMONEXUS_USER') != null) && (project.hasProperty('INMONEXUS_PASSWORD') || System.getenv('INMONEXUS_PASSWORD') != null)) {
maven {
name = "InmoNexus"
url = uri("https://nexus.inmo.dev/repository/maven-releases/")
credentials {
username = project.hasProperty('INMONEXUS_USER') ? project.property('INMONEXUS_USER') : System.getenv('INMONEXUS_USER')
password = project.hasProperty('INMONEXUS_PASSWORD') ? project.property('INMONEXUS_PASSWORD') : System.getenv('INMONEXUS_PASSWORD')
}
}
if ((project.hasProperty('INMONEXUS_USER') || System.getenv('INMONEXUS_USER') != null) && (project.hasProperty('INMONEXUS_PASSWORD') || System.getenv('INMONEXUS_PASSWORD') != null)) {
maven {
name = "InmoNexus"
url = uri("https://nexus.inmo.dev/repository/maven-releases/")
credentials {
username = project.hasProperty('INMONEXUS_USER') ? project.property('INMONEXUS_USER') : System.getenv('INMONEXUS_USER')
password = project.hasProperty('INMONEXUS_PASSWORD') ? project.property('INMONEXUS_PASSWORD') : System.getenv('INMONEXUS_PASSWORD')
}
}
if ((project.hasProperty('SONATYPE_USER') || System.getenv('SONATYPE_USER') != null) && (project.hasProperty('SONATYPE_PASSWORD') || System.getenv('SONATYPE_PASSWORD') != null)) {
maven {
name = "sonatype"
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
credentials {
username = project.hasProperty('SONATYPE_USER') ? project.property('SONATYPE_USER') : System.getenv('SONATYPE_USER')
password = project.hasProperty('SONATYPE_PASSWORD') ? project.property('SONATYPE_PASSWORD') : System.getenv('SONATYPE_PASSWORD')
}
}
if ((project.hasProperty('SONATYPE_USER') || System.getenv('SONATYPE_USER') != null) && (project.hasProperty('SONATYPE_PASSWORD') || System.getenv('SONATYPE_PASSWORD') != null)) {
maven {
name = "sonatype"
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
credentials {
username = project.hasProperty('SONATYPE_USER') ? project.property('SONATYPE_USER') : System.getenv('SONATYPE_USER')
password = project.hasProperty('SONATYPE_PASSWORD') ? project.property('SONATYPE_PASSWORD') : System.getenv('SONATYPE_PASSWORD')
}
}
}
}