Skip to content

Commit c052244

Browse files
authored
Enable configuration cache (hfhbd#209)
* Enable configuration cache * Test Kotlin 1.9.20 --------- Co-authored-by: hfhbd <hfhbd@users.noreply.github.com>
1 parent 41e3ba1 commit c052244

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

.github/workflows/CD.yml

Lines changed: 1 addition & 1 deletion
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 }}

gradle.properties

Lines changed: 2 additions & 0 deletions
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

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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)