This repository was archived by the owner on Oct 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed
sqlite-storage-plugin/src/main/kotlin/tasks Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 2121 "homepage" : " https://github.com/react-native-async-storage/sqlite-storage" ,
2222 "packageManager" : " yarn@4.0.2" ,
2323 "scripts" : {
24- "lib:build" : " bob build"
24+ "build" : " yarn build:js && yarn build:native" ,
25+ "build:js" : " bob build" ,
26+ "build:native" : " ./gradlew sqlite-storage:bundleSqliteStorage"
2527 },
2628 "react-native-builder-bob" : {
2729 "source" : " src" ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import org.gradle.api.tasks.TaskAction
1313internal abstract class SqliteStorageAndroidBundleTask : DefaultTask () {
1414 override fun getGroup () = PLUGIN_GROUP
1515
16- override fun getDescription () = " Bundles release AAR and moves it to release directory "
16+ override fun getDescription () = " Creates release AAR and moves it to output dir "
1717
1818 @get:OutputDirectory
1919 abstract val outputDir: DirectoryProperty
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import org.gradle.api.tasks.TaskAction
1212internal abstract class SqliteStorageIosBundleTask : DefaultTask () {
1313 override fun getGroup () = PLUGIN_GROUP
1414
15- override fun getDescription () = " Bundles release XCFramework and moves it to release directory "
15+ override fun getDescription () = " Creates release XCFramework and moves it to output dir "
1616
1717 @get:OutputDirectory
1818 abstract val outputDir: DirectoryProperty
@@ -27,7 +27,7 @@ internal abstract class SqliteStorageIosBundleTask : DefaultTask() {
2727 fun execute () {
2828 val framework = sourceFramework.get().asFile
2929 if (! framework.exists()) {
30- throw IllegalStateException (" XCFramework not found at location ${framework.absolutePath} " )
30+ throw IllegalStateException (" XCFramework not found at ${framework.absolutePath} " )
3131 }
3232 val finalName: String = outputFrameworkName.get().let { name ->
3333 if (name.endsWith(" .xcframework" )) name
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ sqldelight {
6868
6969asyncStorage {
7070 outputDir.set(rootProject.file(" nativeLib" ))
71- binaryName.set(" sqlite-storage" )
71+ binaryName.set(" sqlite-storage- ${version} " )
7272}
7373
7474android {
You can’t perform that action at this time.
0 commit comments