Skip to content

Commit a1dbdbd

Browse files
committed
Update core extension to 0.4.3
1 parent a7863e8 commit a1dbdbd

File tree

6 files changed

+19
-2
lines changed

6 files changed

+19
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- os: windows-latest
2323
targets: jvmTest
2424
runs-on: ${{ matrix.os }}
25-
timeout-minutes: 15
25+
timeout-minutes: 20
2626

2727
steps:
2828
- uses: actions/checkout@v4
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package com.powersync
2+
3+
import co.touchlab.sqliter.DatabaseConnection
4+
5+
internal actual fun DatabaseConnection.loadPowerSyncSqliteCoreExtension() {
6+
loadPowerSyncSqliteCoreExtensionDynamically()
7+
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ kotlinx-datetime = "0.7.1"
1717
kotlinx-io = "0.8.0"
1818
ktor = "3.2.3"
1919
uuid = "0.8.4"
20-
powersync-core = "0.4.2"
20+
powersync-core = "0.4.3"
2121
sqlite-jdbc = "3.50.3.0"
2222
sqliter = "1.3.3"
2323
turbine = "1.2.1"

plugins/build-plugin/src/main/kotlin/SharedBuildPlugin.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class SharedBuildPlugin : Plugin<Project> {
6262
// We're testing on simulators
6363
Family.IOS -> "ios-arm64_x86_64-simulator"
6464
Family.WATCHOS -> "watchos-arm64_x86_64-simulator"
65+
Family.TVOS -> "tvos-arm64_x86_64-simulator"
6566
else -> return@configureEach
6667
}
6768

plugins/build-plugin/src/main/kotlin/com/powersync/compile/ClangCompile.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ abstract class ClangCompile: DefaultTask() {
6868
KonanTarget.WATCHOS_ARM64 -> "arm64_32-apple-watchos" to WATCHOS_SDK
6969
KonanTarget.WATCHOS_SIMULATOR_ARM64 -> "aarch64-apple-watchos-simulator" to WATCHOS_SIMULATOR_SDK
7070
KonanTarget.WATCHOS_X64 -> "x86_64-apple-watchos-simulator" to WATCHOS_SIMULATOR_SDK
71+
KonanTarget.TVOS_ARM64 -> "aarch64-apple-tvos" to TVOS_SDK
72+
KonanTarget.TVOS_X64 -> "x86_64-apple-tvos-simulator" to TVOS_SIMULATOR_SDK
73+
KonanTarget.TVOS_SIMULATOR_ARM64 -> "aarch64-apple-tvos-simulator" to TVOS_SIMULATOR_SDK
7174
else -> error("Unexpected target $target")
7275
}
7376

@@ -104,6 +107,8 @@ abstract class ClangCompile: DefaultTask() {
104107
const val WATCHOS_SIMULATOR_SDK = "Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/"
105108
const val IOS_SDK = "Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk"
106109
const val IOS_SIMULATOR_SDK = "Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk"
110+
const val TVOS_SDK = "Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk"
111+
const val TVOS_SIMULATOR_SDK = "Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator.sdk"
107112
const val MACOS_SDK = "Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/"
108113
}
109114
}

plugins/sonatype/src/main/kotlin/com/powersync/plugins/utils/KmpUtils.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ public fun KotlinTargetContainerWithPresetFunctions.powersyncTargets(
4545
macosX64()
4646
macosArm64()
4747

48+
tvosSimulatorArm64()
49+
tvosX64()
50+
tvosArm64()
51+
4852
if (watchOS) {
4953
watchosDeviceArm64() // aarch64-apple-watchos
5054
watchosArm64() // arm64_32-apple-watchos

0 commit comments

Comments
 (0)