Skip to content

Commit ad41ad1

Browse files
authored
Merge pull request #71 from qiaoyuang/main
Update version to 1.2.4
2 parents c717f68 + da33d22 commit ad41ad1

File tree

8 files changed

+30
-16
lines changed

8 files changed

+30
-16
lines changed

CHANGELOG.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
- Date format: YYYY-MM-dd
44

5+
## v1.2.4 / 2024-01-05
6+
7+
### All
8+
9+
* Update `Kotlin`'s version to `1.9.22`
10+
11+
### sqllin-dsl
12+
13+
* Update `kotlinx.serialization`'s version to `1.6.2`
14+
15+
### sqllin-processor
16+
17+
* Update `KSP`'s version to `1.9.22-1.0.16`
18+
519
## v1.2.3 / 2023-11-28
620

721
### All
@@ -77,7 +91,7 @@ a runtime exception. Thanks for [@nbransby](https://github.com/nbransby).
7791

7892
* Add the new JVM target
7993
* **Breaking change**: Remove the public property: `DatabaseConnection#closed`
80-
* The Android (<= 9) target supports to set the `journalMode` and `synchronousMode` now
94+
* The Android (< 9) target supports to set the `journalMode` and `synchronousMode` now
8195

8296
## v1.1.1 / 2023-08-12
8397

build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
dependencies {
88
val kotlinVersion: String by project
99
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
10-
classpath("com.android.tools.build:gradle:8.1.4")
10+
classpath("com.android.tools.build:gradle:8.2.1")
1111
}
1212
}
1313

gradle.properties

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
VERSION=1.2.3
1+
VERSION=1.2.4
22
GROUP=com.ctrip.kotlin
33

4-
kotlinVersion=1.9.21
5-
kspVersion=1.9.21-1.0.15
4+
kotlinVersion=1.9.22
5+
kspVersion=1.9.22-1.0.16
6+
serializationVersion=1.6.2
67
coroutinesVersion=1.7.3
8+
androidxAnnotationVersion=1.7.1
79

810
#Maven Publish Information
911
githubURL=https://github.com/ctripcorp/SQLlin
+1-1
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.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

sample/build.gradle.kts

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ kotlin {
3232
kotlin.srcDir("build/generated/ksp/metadata/commonMain/kotlin")
3333
dependencies {
3434
implementation(project(":sqllin-dsl"))
35-
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:1.5.1")
35+
val serializationVersion: String by project
36+
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:${serializationVersion}")
3637
val coroutinesVersion: String by project
3738
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
3839
}

sqllin-driver/build.gradle.kts

+3-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ kotlin {
8181
}
8282
val androidMain by getting {
8383
dependencies {
84-
implementation("androidx.annotation:annotation:1.7.0")
84+
val androidxAnnotationVersion: String by project
85+
implementation("androidx.annotation:annotation:${androidxAnnotationVersion}")
8586
}
8687
}
8788
val androidInstrumentedTest by getting {
@@ -94,7 +95,7 @@ kotlin {
9495

9596
val jvmMain by getting {
9697
dependencies {
97-
implementation("org.xerial:sqlite-jdbc:3.43.0.0")
98+
implementation("org.xerial:sqlite-jdbc:3.44.1.0")
9899
}
99100
}
100101
}

sqllin-dsl/build.gradle.kts

+2-6
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ kotlin {
7777
val commonMain by getting {
7878
dependencies {
7979
api(project(":sqllin-driver"))
80-
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:1.5.1")
80+
val serializationVersion: String by project
81+
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:${serializationVersion}")
8182
val coroutinesVersion: String by project
8283
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
8384
}
@@ -87,11 +88,6 @@ kotlin {
8788
implementation(kotlin("test"))
8889
}
8990
}
90-
val androidMain by getting {
91-
dependencies {
92-
implementation("androidx.annotation:annotation:1.7.0")
93-
}
94-
}
9591
val androidInstrumentedTest by getting {
9692
dependencies {
9793
implementation("androidx.test:core:1.5.0")

sqllin-processor/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ publishing {
4141
artifactId = "sqllin-processor"
4242
setArtifacts(
4343
listOf(
44-
"$buildDir/libs/sqllin-processor-$version.jar",
44+
"${layout.buildDirectory}/libs/sqllin-processor-$version.jar",
4545
javadocJar, sourceJar,
4646
)
4747
)

0 commit comments

Comments
 (0)