Skip to content

Commit e8a6dee

Browse files
authored
Merge pull request #106 from qiaoyuang/main
Update version to 1.4.4
2 parents 1112cf2 + af3e8ae commit e8a6dee

File tree

17 files changed

+192
-247
lines changed

17 files changed

+192
-247
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@ on:
88
branches:
99
- '*'
1010

11-
env:
12-
ORG_GRADLE_PROJECT_NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
13-
ORG_GRADLE_PROJECT_NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
14-
ORG_GRADLE_PROJECT_SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
15-
ORG_GRADLE_PROJECT_SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
16-
ORG_GRADLE_PROJECT_SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
17-
1811
jobs:
1912

2013
build-on-macos:
@@ -70,30 +63,30 @@ jobs:
7063
path: |
7164
~/.android/avd/*
7265
~/.android/adb*
73-
key: avd-35
66+
key: avd-36
7467

7568
- name: Create AVD and Generate Snapshot for Caching
7669
if: steps.avd-cache.outputs.cache-hit != 'true'
7770
uses: reactivecircus/android-emulator-runner@v2
7871
with:
79-
api-level: 35
72+
api-level: 36
8073
target: google_apis
8174
arch: x86_64
8275
profile: pixel_6
83-
emulator-build: 13373845
76+
emulator-build: 13701740
8477
force-avd-creation: false
8578
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
8679
disable-animations: true
8780
script: echo "Generated AVD snapshot for caching."
8881

89-
- name: Run Android 15 Instrumented Tests
82+
- name: Run Android 16 Instrumented Tests
9083
uses: reactivecircus/android-emulator-runner@v2
9184
with:
92-
api-level: 35
85+
api-level: 36
9386
target: google_apis
9487
arch: x86_64
9588
profile: pixel_6
96-
emulator-build: 13373845
89+
emulator-build: 13701740
9790
force-avd-creation: false
9891
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
9992
disable-animations: true
@@ -239,7 +232,7 @@ jobs:
239232
target: default
240233
arch: x86_64
241234
profile: pixel_2
242-
emulator-build: 13373845
235+
emulator-build: 13701740
243236
force-avd-creation: false
244237
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
245238
disable-animations: true
@@ -252,7 +245,7 @@ jobs:
252245
target: default
253246
arch: x86_64
254247
profile: pixel_2
255-
emulator-build: 13373845
248+
emulator-build: 13701740
256249
force-avd-creation: false
257250
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
258251
disable-animations: true

.github/workflows/publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on:
44
workflow_dispatch:
55

66
env:
7-
ORG_GRADLE_PROJECT_NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
8-
ORG_GRADLE_PROJECT_NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
9-
ORG_GRADLE_PROJECT_SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
10-
ORG_GRADLE_PROJECT_SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
11-
ORG_GRADLE_PROJECT_SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
7+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
8+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
9+
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
10+
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SIGNING_KEY_ID }}
11+
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}
1212

1313
jobs:
1414

@@ -84,7 +84,7 @@ jobs:
8484
run: ./gradlew :sqllin-dsl:mingwX64MainKlibrary
8585

8686
- name: Publish to MavenCentral
87-
run: ./gradlew :sqllin-driver:publishMingwX64PublicationToMavenRepository && ./gradlew :sqllin-dsl:publishMingwX64PublicationToMavenRepository
87+
run: ./gradlew :sqllin-driver:publishMingwX64PublicationToMavenCentralRepository && ./gradlew :sqllin-dsl:publishMingwX64PublicationToMavenCentralRepository
8888

8989
build-on-linux:
9090
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22

33
- Date format: YYYY-MM-dd
44

5+
## 1.4.4 / 2025-07-07
6+
7+
### All
8+
9+
* Update `Kotlin`'s version to `2.2.0`
10+
11+
### sqllin-dsl
12+
13+
* Update `kotlinx.serialization`'s version to `1.9.0`
14+
15+
### sqllin-driver
16+
17+
* Update the `sqlite-jdbc`'s version to `3.50.2.0`
18+
19+
### sqllin-processor
20+
21+
* Update `KSP`'s version to `2.2.0-2.0.2`
22+
523
## v1.4.3 / 2025-06-02
624

725
### All

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ plugins {
44
alias(libs.plugins.kotlinx.serialization) apply false
55
alias(libs.plugins.android.library) apply false
66
alias(libs.plugins.ksp) apply false
7+
alias(libs.plugins.vanniktech.maven.publish) apply false
78
}

gradle.properties

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
VERSION=1.4.3
2-
GROUP=com.ctrip.kotlin
1+
VERSION=1.4.4
2+
GROUP_ID=com.ctrip.kotlin
33

44
#Maven Publishing Information
55
githubURL=https://github.com/ctripcorp/SQLlin
@@ -28,4 +28,6 @@ kotlin.mpp.stability.nowarn=true
2828
kotlin.mpp.enableCInteropCommonization=true
2929
kotlin.natvie.increment=true
3030
kotlin.jvm.target.validation.mode=warning
31+
kotlin.native.binary.pagedAllocator=false
32+
kotlin.native.binary.latin1Strings=true
3133
#kotlin.compiler.execution.strategy=out-of-process

gradle/libs.versions.toml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
[versions]
22

3-
kotlin = "2.1.21"
4-
agp = "8.9.3"
5-
ksp = "2.1.21-2.0.1"
6-
serialization = "1.8.1"
3+
kotlin = "2.2.0"
4+
agp = "8.10.1"
5+
ksp = "2.2.0-2.0.2"
6+
serialization = "1.9.0"
77
coroutines = "1.10.2"
88
androidx-annotation = "1.9.1"
99
androidx-test = "1.6.1"
1010
androidx-test-runner = "1.6.2"
11-
sqlite-jdbc = "3.49.1.0"
11+
sqlite-jdbc = "3.50.2.0"
1212
desugar-jdk-libs = "2.1.5"
13+
jvm-toolchain = "21"
14+
android-sdk-compile = "36"
15+
android-sdk-min = "23"
16+
vanniktech-maven-publish = "0.33.0"
1317

1418
[libraries]
1519

@@ -34,4 +38,4 @@ kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
3438
kotlinx-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
3539
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
3640
android-library = { id = "com.android.library", version.ref = "agp" }
37-
maven-publish = { id = "maven-publish" }
41+
vanniktech-maven-publish = { id = "com.vanniktech.maven.publish", version.ref = "vanniktech-maven-publish" }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Tue Mar 08 15:11:46 CST 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

publish_apple_android_jvm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Publish artifacts on macOS env
2-
./gradlew :sqllin-driver:publishAllPublicationsToMavenRepository -PonCICD
3-
./gradlew :sqllin-dsl:publishAllPublicationsToMavenRepository -PonCICD
2+
./gradlew :sqllin-driver:publishAllPublicationsToMavenCentralRepository -PonCICD
3+
./gradlew :sqllin-dsl:publishAllPublicationsToMavenCentralRepository -PonCICD

publish_linux_processor.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Publish artifacts on Linux env
2-
./gradlew :sqllin-driver:publishLinuxX64PublicationToMavenRepository
3-
./gradlew :sqllin-driver:publishLinuxArm64PublicationToMavenRepository
4-
./gradlew :sqllin-processor:publishProcessorPublicationToMavenRepository
5-
./gradlew :sqllin-dsl:publishLinuxX64PublicationToMavenRepository
6-
./gradlew :sqllin-dsl:publishLinuxArm64PublicationToMavenRepository
2+
./gradlew :sqllin-driver:publishLinuxX64PublicationToMavenCentralRepository
3+
./gradlew :sqllin-driver:publishLinuxArm64PublicationToMavenCentralRepository
4+
./gradlew :sqllin-processor:publishMavenPublicationToMavenCentralRepository
5+
./gradlew :sqllin-dsl:publishLinuxX64PublicationToMavenCentralRepository
6+
./gradlew :sqllin-dsl:publishLinuxArm64PublicationToMavenCentralRepository

sample/build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins {
1111
version = "1.0"
1212

1313
kotlin {
14-
jvmToolchain(21)
14+
jvmToolchain(libs.versions.jvm.toolchain.get().toInt())
1515
androidTarget {
1616
publishLibraryVariants("release")
1717
}
@@ -23,7 +23,7 @@ kotlin {
2323
iosSimulatorArm64()
2424

2525
compilerOptions {
26-
freeCompilerArgs.add("-Xexpect-actual-classes")
26+
freeCompilerArgs.addAll("-Xexpect-actual-classes", "-Xcontext-parameters", "-Xnested-type-aliases")
2727
}
2828

2929
sourceSets {
@@ -43,9 +43,9 @@ kotlin {
4343

4444
android {
4545
namespace = "com.ctrip.sqllin.sample"
46-
compileSdk = 35
46+
compileSdk = libs.versions.android.sdk.compile.get().toInt()
4747
defaultConfig {
48-
minSdk = 23
48+
minSdk = libs.versions.android.sdk.min.get().toInt()
4949
}
5050
compileOptions {
5151
isCoreLibraryDesugaringEnabled = true

0 commit comments

Comments
 (0)