Comments (4)
What exactly is the question here? Are you trying to cut down on the binary size of the sqlite driver on JVM by restricting the amount of platforms it supports?
If so, that won't work. The JVM is meant to run on a large array of platforms. Since SQLite drivers are written in C code, to interface with that Java code has to wrap a binary built for each specific platform to interop with it.
Reducing the binary size of the driver by removing these folders is tantamount to removing JVM support for those platforms altogether. That is the opposite of the goal of the JVM.
from sqldelight.
What exactly is the question here? Are you trying to cut down on the binary size of the sqlite driver on JVM by restricting the amount of platforms it supports?
If so, that won't work. The JVM is meant to run on a large array of platforms. Since SQLite drivers are written in C code, to interface with that Java code has to wrap a binary built for each specific platform to interop with it.
Reducing the binary size of the driver by removing these folders is tantamount to removing JVM support for those platforms altogether. That is the opposite of the goal of the JVM.
Yes, I would like to provide dependency packages for different platforms, as developers are aware of the target system when packaging jvm app.
eg:
implementation("app.cash.sqldelight:sqlite-driver-mac")
implementation("app.cash.sqldelight:sqlite-driver-win")
from sqldelight.
You can request that from the JDBC sqlite driver which provides these binaries. We do not package sqlite.
If they decide to package platform-specific variants, you could exclude our multiplatform dependency and include the platform-specific one in your build.
In general, though, we want to use the artifact which packages for every platform.
from sqldelight.
ok, thanks
from sqldelight.
Related Issues (20)
- java.lang.LinkageError in ColumnTypeMixin.kt:157
- Behavior change in 2.x when coercing Boolean column types
- PostgreSQL - `SELECT FROM ( VALUES (), () )` expression is not supported HOT 2
- Add timescaledb dialect support
- java.util.NoSuchElementException in InsertStmtUtil.kt:47
- com.intellij.diagnostic.PluginException in PsiUtilCore.java:467
- Insert multiple values statement
- app.cash.sqldelight.gradle.VerifyMigrationTask$VerifyMigrationAction > 'void org.sqlite.core.NativeDB._open_utf8(byte[], int)'`
- app.cash.sqldelight.gradle.VerifyMigrationTask$VerifyMigrationAction > 'void org.sqlite.core.NativeDB._open_utf8(byte[], int)' HOT 2
- java.lang.Throwable in Logger.java:370
- IDE Plugin and gradle test task could be improved when adding a new migration for a NON NULL column? HOT 1
- PostgreSql Boolean Literals are compiling to Long
- java.io.IOException in GeneratedVirtualFile.kt:74
- SQLDelight plugin crashes Gradle build HOT 2
- java.lang.RuntimeException in ProjectService.kt:83
- SQLite: return Long instead of data class in SUM HOT 2
- Add EXTRACT function to PostgreSql Dialect
- No plugin descriptor found at META-INF/maven/plugin.xml when running with Maven HOT 1
- java.lang.AssertionError in ProjectService.kt:83
- Can't delete HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqldelight.