Skip to content

Commit b04e7de

Browse files
authored
Merge branch 'main' into main
2 parents d533be5 + 425a558 commit b04e7de

19 files changed

+27
-24
lines changed

.github/workflows/CD.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Build with Gradle
2424
run: ./gradlew assemble
2525
- name: Publish
26-
run: ./gradlew -Pversion=$version -Dorg.gradle.parallel=false publish closeAndReleaseStagingRepository
26+
run: ./gradlew -Pversion=$version -Dorg.gradle.parallel=false --no-configuration-cache publish closeAndReleaseStagingRepository
2727
env:
2828
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_PRIVATE_KEY }}
2929
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}

.github/workflows/CI.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
dependency-graph: generate-and-submit
3030
gradle-home-cache-cleanup: true
3131
- run: ./gradlew assemble
32-
- uses: ikalnytskyi/action-setup-postgres@v4
32+
- uses: ikalnytskyi/action-setup-postgres@v5
3333
with:
3434
password: password
3535
- run: ./gradlew build

.github/workflows/Docs.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
url: ${{ steps.deployment.outputs.page_url }}
2626

2727
steps:
28-
- uses: actions/configure-pages@v3
28+
- uses: actions/configure-pages@v4
2929
- uses: actions/checkout@v4
3030
- uses: Homebrew/actions/setup-homebrew@master
3131
id: set-up-homebrew
@@ -37,9 +37,9 @@ jobs:
3737
- uses: gradle/gradle-build-action@v2
3838
- name: Generate Docs
3939
run: ./gradlew :dokkaHtmlMultiModule
40-
- uses: actions/upload-pages-artifact@v2
40+
- uses: actions/upload-pages-artifact@v3
4141
with:
4242
path: build/dokka/htmlMultiModule
4343
- name: Deploy to GitHub Pages
4444
id: deployment
45-
uses: actions/deploy-pages@main
45+
uses: actions/deploy-pages@v4

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Module postgres-native-sqldelight
1+
# Module postgres-native-sqldelight-driver
22

33
A native Postgres driver using libpq.
44

gradle.properties

+2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@ kotlin.mpp.enableCInteropCommonization=true
33

44
org.gradle.parallel=true
55
org.gradle.jvmargs=-Xmx2048m
6+
org.gradle.configuration-cache=true
7+
org.gradle.configureondemand=true
68

79
group=app.softwork
File renamed without changes.

build-logic/settings.gradle.kts renamed to gradle/build-logic/settings.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dependencyResolutionManagement {
55
gradlePluginPortal()
66
}
77
versionCatalogs.register("libs") {
8-
from(files("../gradle/libs.versions.toml"))
8+
from(files("../libs.versions.toml"))
99
}
1010
}
1111

gradle/libs.versions.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
2-
kotlin = "1.9.21"
3-
sqldelight = "2.0.0"
2+
kotlin = "1.9.22"
3+
sqldelight = "2.0.1"
44
idea = "222.4459.24"
55
coroutines = "1.7.3"
66

@@ -13,8 +13,8 @@ sqldelight-compiler-env = { module = "app.cash.sqldelight:compiler-env", version
1313

1414
coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
1515
coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }
16-
ktor-network = { module = "io.ktor:ktor-network", version = "2.3.6" }
17-
datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version = "0.4.1" }
16+
ktor-network = { module = "io.ktor:ktor-network", version = "2.3.7" }
17+
datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version = "0.5.0" }
1818
uuid = { module = "app.softwork:kotlinx-uuid-core", version = "0.0.22" }
1919
serialization-core = { module = "org.jetbrains.kotlinx:kotlinx-serialization-core", version = "1.6.2" }
2020

gradle/wrapper/gradle-wrapper.jar

-19.8 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

+7-7
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,15 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
145145
case $MAX_FD in #(
146146
max*)
147147
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
148-
# shellcheck disable=SC3045
148+
# shellcheck disable=SC2039,SC3045
149149
MAX_FD=$( ulimit -H -n ) ||
150150
warn "Could not query maximum file descriptor limit"
151151
esac
152152
case $MAX_FD in #(
153153
'' | soft) :;; #(
154154
*)
155155
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
156-
# shellcheck disable=SC3045
156+
# shellcheck disable=SC2039,SC3045
157157
ulimit -n "$MAX_FD" ||
158158
warn "Could not set maximum file descriptor limit to $MAX_FD"
159159
esac
@@ -202,11 +202,11 @@ fi
202202
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
203203
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
204204

205-
# Collect all arguments for the java command;
206-
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
207-
# shell script including quotes and variable substitutions, so put them in
208-
# double quotes to make sure that they get re-expanded; and
209-
# * put everything else in single quotes, so that it's not re-expanded.
205+
# Collect all arguments for the java command:
206+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
207+
# and any embedded shellness will be escaped.
208+
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
209+
# treated as '${Hostname}' itself on the command line.
210210

211211
set -- \
212212
"-Dorg.gradle.appname=$APP_BASE_NAME" \

postgres-native-sqldelight-dialect/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies {
2929
}
3030

3131
kotlin {
32-
jvmToolchain(11)
32+
jvmToolchain(17)
3333

3434
target.compilations.configureEach {
3535
kotlinOptions.allWarningsAsErrors = true

postgres-native-sqldelight-driver/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ licensee {
5757

5858
tasks.dokkaHtmlPartial {
5959
dokkaSourceSets.configureEach {
60-
externalDocumentationLink("https://cashapp.github.io/sqldelight/2.0.0-alpha05/2.x/")
60+
externalDocumentationLink("https://cashapp.github.io/sqldelight/2.0.0/2.x/")
6161
externalDocumentationLink(
6262
url = "https://kotlinlang.org/api/kotlinx-datetime/",
6363
packageListUrl = "https://kotlinlang.org/api/kotlinx-datetime/kotlinx-datetime/package-list",

settings.gradle.kts

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ pluginManagement {
33
mavenCentral()
44
gradlePluginPortal()
55
}
6-
includeBuild("build-logic")
6+
includeBuild("gradle/build-logic")
77
}
88

99
plugins {
1010
id("MyRepos")
11-
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
12-
id("com.gradle.enterprise") version "3.15.1"
11+
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
12+
id("com.gradle.enterprise") version "3.16.1"
1313
}
1414

1515
gradleEnterprise {
@@ -26,6 +26,7 @@ gradleEnterprise {
2626
rootProject.name = "postgres-native-sqldelight"
2727

2828
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
29+
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
2930

3031
include(":postgres-native-sqldelight-driver")
3132
include(":postgres-native-sqldelight-dialect")

0 commit comments

Comments
 (0)