Compare commits

...

4 Commits

Author SHA1 Message Date
56e5c58137 migrate build toolchain 2026-08-31 14:27:39 +06:00
0bff6fe11e update dependencies 2026-08-31 13:51:06 +06:00
7e1fb011c8 start 3.0.0 2026-08-31 13:29:40 +06:00
8aaaa6306d Merge pull request #169 from InsanusMokrassar/2.10.0
2.10.0
2026-08-17 15:07:27 +06:00
4 changed files with 28 additions and 49 deletions

View File

@@ -1,5 +1,15 @@
# Changelog # 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 ## 2.10.0
* `Version`: * `Version`:

View File

@@ -33,7 +33,7 @@ allprojects {
} }
} }
apply plugin: "com.android.library" apply plugin: "com.android.kotlin.multiplatform.library"
project.version = "$version" project.version = "$version"
project.group = "dev.inmo" project.group = "dev.inmo"
@@ -71,11 +71,15 @@ kotlin {
browser() browser()
nodejs() nodejs()
} }
androidTarget { android {
publishLibraryVariants( compileSdk = "$android_compileSdkVersion".toInteger()
"release", buildToolsVersion = "$android_buildToolsVersion"
"debug", minSdk = "$android_minSdkVersion".toInteger()
namespace = "${project.group}.${project.name}"
compilerOptions.jvmTarget.set(
compilerOptions.jvmTarget.get().class.fromTarget("17")
) )
withHostTest {}
} }
linuxX64() linuxX64()
mingwX64() mingwX64()
@@ -122,7 +126,7 @@ kotlin {
implementation kotlin('test-js') implementation kotlin('test-js')
} }
} }
androidUnitTest { androidHostTest {
dependencies { dependencies {
implementation kotlin('test-junit') implementation kotlin('test-junit')
} }
@@ -132,39 +136,6 @@ kotlin {
apply plugin: 'com.getkeepsafe.dexcount' 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 { java {
sourceCompatibility = JavaVersion.VERSION_17 sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17

View File

@@ -2,15 +2,13 @@ org.gradle.jvmargs=-Xmx1g -Xms500m
kotlin.daemon.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.incremental=true kotlin.incremental=true
kotlin.incremental.js=true kotlin.incremental.js=true
kotlin.incremental.multiplatform=true kotlin.incremental.multiplatform=true
android.useAndroidX=true android.useAndroidX=true
android.enableJetifier=false
kotlin_version=2.3.21 kotlin_version=2.4.10
kotlin_coroutines_version=1.11.0 kotlin_coroutines_version=1.11.0
kotlin_serialization_version=1.11.0 kotlin_serialization_version=1.11.0
@@ -18,7 +16,7 @@ dokka_version=2.2.0
klockVersion=5.4.0 klockVersion=5.4.0
nmcp_version=1.5.0 nmcp_version=1.6.1
## Github reease ## Github reease
@@ -26,10 +24,10 @@ github_release_plugin_version=2.5.2
## Android ## Android
android_gradle_version=8.13.+ android_gradle_version=9.3.2
android_minSdkVersion=21 android_minSdkVersion=21
android_compileSdkVersion=36 android_compileSdkVersion=37
android_buildToolsVersion=36.0.0 android_buildToolsVersion=37.0.0
dexcount_version=4.0.0 dexcount_version=4.0.0
junit_version=4.13.2 junit_version=4.13.2
test_ext_junit_version=1.3.0 test_ext_junit_version=1.3.0
@@ -39,5 +37,5 @@ androidx_work_version=2.11.2
## Common ## Common
version=2.10.0 version=3.0.0
android_code_version=51 android_code_version=52

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