Title: `exoquery-runner-jdbc` pulls unnecessary runtime dependencies · Issue #4 · ExoQuery/ExoQuery · GitHub
Open Graph Title: `exoquery-runner-jdbc` pulls unnecessary runtime dependencies · Issue #4 · ExoQuery/ExoQuery
X Title: `exoquery-runner-jdbc` pulls unnecessary runtime dependencies · Issue #4 · ExoQuery/ExoQuery
Description: I just added io.exoquery:exoquery-runner-jdbc as a dependency to my Ktor backend app, replacing Exposed. With Exposed, the app size was around 40MB. After adding this dependency, its shadow JAR size became around 80MB. When I checked the...
Open Graph Description: I just added io.exoquery:exoquery-runner-jdbc as a dependency to my Ktor backend app, replacing Exposed. With Exposed, the app size was around 40MB. After adding this dependency, its shadow JAR siz...
X Description: I just added io.exoquery:exoquery-runner-jdbc as a dependency to my Ktor backend app, replacing Exposed. With Exposed, the app size was around 40MB. After adding this dependency, its shadow JAR siz...
Opengraph URL: https://github.com/ExoQuery/ExoQuery/issues/4
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`exoquery-runner-jdbc` pulls unnecessary runtime dependencies","articleBody":"I just added io.exoquery:exoquery-runner-jdbc as a dependency to my Ktor backend app, replacing Exposed. With Exposed, the app size was around 40MB. After adding this dependency, its shadow JAR size became around 80MB. When I checked the runtime dependencies pulled by runner-jdbc, this is what I see. I'm not sure why it pulls kotest, bytebuddy, kotlinx-serialization, kotlinx-reflect, sqldelight, etc. If I understand correctly, since you are using compiler plugins, all those things should exist only during the compilation classpath, not runtime.\n\n```\n$ ./gradlew -q :backend:jvm:dependencies --configuration RuntimeClasspath\n...\n+--- io.exoquery:exoquery-runner-jdbc:1.1.2.PL-1.1.2\n| \\--- io.exoquery:exoquery-runner-jdbc-jvm:1.1.2.PL-1.1.2\n| +--- io.exoquery:exoquery-engine:2.1.0-1.1.2.PL\n| | \\--- io.exoquery:exoquery-engine-jvm:2.1.0-1.1.2.PL\n| | +--- io.exoquery:terpal-runtime:2.1.0-2.0.0.PL\n| | | \\--- io.exoquery:terpal-runtime-jvm:2.1.0-2.0.0.PL\n| | | \\--- org.jetbrains.kotlin:kotlin-stdlib:2.1.0 -> 2.2.0-Beta2 (*)\n| | +--- com.github.vertical-blank:sql-formatter:2.0.4\n| | +--- org.jetbrains.kotlinx:kotlinx-datetime:0.6.0 -> 0.6.2 (*)\n| | +--- org.jetbrains.kotlinx:kotlinx-serialization-core:1.7.3 -> 1.8.1 (*)\n| | +--- org.jetbrains.kotlinx:kotlinx-serialization-protobuf:1.7.3 -> 1.8.1\n| | | \\--- org.jetbrains.kotlinx:kotlinx-serialization-protobuf-jvm:1.8.1\n| | | +--- org.jetbrains.kotlinx:kotlinx-serialization-bom:1.8.1 (*)\n| | | +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.20 -> 2.2.0-Beta2 (*)\n| | | \\--- org.jetbrains.kotlinx:kotlinx-serialization-core:1.8.1 (*)\n| | +--- org.jetbrains.kotlin:kotlin-reflect -> 2.2.0-Beta2 (*)\n| | +--- io.exoquery:pprint-kotlin-kmp:3.0.0\n| | | \\--- io.exoquery:pprint-kotlin-kmp-jvm:3.0.0\n| | | +--- io.exoquery:pprint-kotlin-core:3.0.0\n| | | | \\--- io.exoquery:pprint-kotlin-core-jvm:3.0.0\n| | | | +--- org.jetbrains.kotlinx:kotlinx-serialization-core:1.6.2 -> 1.8.1 (*)\n| | | | \\--- org.jetbrains.kotlin:kotlin-stdlib:1.9.22 -> 2.2.0-Beta2 (*)\n| | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.9.22 -> 2.2.0-Beta2 (*)\n| | | \\--- org.jetbrains.kotlinx:kotlinx-serialization-core:1.6.2 -> 1.8.1 (*)\n| | +--- io.exoquery:decomat-core:0.5.0\n| | | \\--- io.exoquery:decomat-core-jvm:0.5.0\n| | | \\--- org.jetbrains.kotlin:kotlin-stdlib:1.9.22 -> 2.2.0-Beta2 (*)\n| | +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.0 -> 2.2.0-Beta2 (*)\n| | \\--- org.jetbrains.kotlin:kotlin-reflect:2.1.0 -> 2.2.0-Beta2 (c)\n| +--- io.exoquery:controller-jdbc:3.2.0\n| | \\--- io.exoquery:controller-jdbc-jvm:3.2.0\n| | +--- io.exoquery:controller-core:3.2.0\n| | | \\--- io.exoquery:controller-core-jvm:3.2.0\n| | | +--- org.jetbrains.kotlinx:kotlinx-serialization-core:1.6.2 -> 1.8.1 (*)\n| | | +--- org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.2 -> 1.8.1 (*)\n| | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1 -> 1.10.2 (*)\n| | | +--- org.jetbrains.kotlinx:kotlinx-datetime:0.6.0 -> 0.6.2 (*)\n| | | +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.0 -> 2.2.0-Beta2 (*)\n| | | \\--- org.jetbrains.kotlinx:atomicfu:0.23.1\n| | | \\--- org.jetbrains.kotlinx:atomicfu-jvm:0.23.1\n| | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.9.21 -> 2.2.0-Beta2 (*)\n| | | \\--- org.jetbrains.kotlin:kotlin-stdlib-common:1.9.21 -> 2.2.0-Beta2 (*)\n| | +--- org.jetbrains.kotlinx:kotlinx-serialization-core:1.6.2 -> 1.8.1 (*)\n| | +--- org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.2 -> 1.8.1 (*)\n| | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1 -> 1.10.2 (*)\n| | +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.0 -> 2.2.0-Beta2 (*)\n| | +--- com.zaxxer:HikariCP:5.0.1 -> 6.3.0\n| | | \\--- org.slf4j:slf4j-api:1.7.36 -> 2.1.0-alpha1\n| | +--- com.typesafe:config:1.4.1 -> 1.4.3\n| | +--- org.xerial:sqlite-jdbc:3.42.0.1\n| | \\--- org.jetbrains:annotations:24.1.0 -> 26.0.1\n| +--- org.jetbrains.kotlinx:kotlinx-serialization-core:1.7.3 -> 1.8.1 (*)\n| +--- org.jetbrains.kotlinx:kotlinx-serialization-protobuf:1.7.3 -> 1.8.1 (*)\n| +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1 -> 1.10.2 (*)\n| +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.0 -> 2.2.0-Beta2 (*)\n| +--- io.exoquery:exoquery-runner-core:1.1.2.PL-1.1.2\n| | \\--- io.exoquery:exoquery-runner-core-jvm:1.1.2.PL-1.1.2\n| | +--- io.exoquery:exoquery-engine:2.1.0-1.1.2.PL (*)\n| | +--- io.exoquery:controller-jdbc:3.2.0 (*)\n| | +--- io.exoquery:controller-core:3.2.0 (*)\n| | +--- org.jetbrains.kotlinx:kotlinx-serialization-core:1.7.3 -> 1.8.1 (*)\n| | +--- org.jetbrains.kotlinx:kotlinx-serialization-protobuf:1.7.3 -> 1.8.1 (*)\n| | +--- org.jetbrains.kotlin:kotlin-stdlib:2.1.0 -> 2.2.0-Beta2 (*)\n| | +--- org.jetbrains.kotlinx:atomicfu:0.23.1 (*)\n| | +--- app.cash.sqldelight:runtime:2.0.2\n| | | \\--- app.cash.sqldelight:runtime-jvm:2.0.2\n| | | \\--- org.jetbrains.kotlin:kotlin-stdlib:1.9.23 -> 2.2.0-Beta2 (*)\n| | +--- io.kotest:kotest-framework-engine:6.0.0.M1\n| | | \\--- io.kotest:kotest-framework-engine-jvm:6.0.0.M1\n| | | +--- io.github.classgraph:classgraph:4.8.175\n| | | +--- io.kotest:kotest-framework-discovery:6.0.0.M1\n| | | | \\--- io.kotest:kotest-framework-discovery-jvm:6.0.0.M1\n| | | | +--- io.kotest:kotest-common:6.0.0.M1\n| | | | | \\--- io.kotest:kotest-common-jvm:6.0.0.M1\n| | | | | +--- org.jetbrains.kotlin:kotlin-stdlib:2.0.20 -> 2.2.0-Beta2 (*)\n| | | | | +--- org.jetbrains.kotlin:kotlin-reflect -> 2.2.0-Beta2 (*)\n| | | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0 -> 1.10.2 (*)\n| | | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-test:1.8.0 -> 1.10.2\n| | | | | | \\--- org.jetbrains.kotlinx:kotlinx-coroutines-test-jvm:1.10.2\n| | | | | | +--- org.jetbrains:annotations:23.0.0 -> 26.0.1\n| | | | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.10.2 (*)\n| | | | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2 (*)\n| | | | | | \\--- org.jetbrains.kotlin:kotlin-stdlib:2.1.0 -> 2.2.0-Beta2 (*)\n| | | | | \\--- org.jetbrains.kotlin:kotlin-reflect:2.0.20 -> 2.2.0-Beta2 (c)\n| | | | +--- org.jetbrains.kotlin:kotlin-stdlib:2.0.20 -> 2.2.0-Beta2 (*)\n| | | | +--- org.jetbrains.kotlin:kotlin-reflect -> 2.2.0-Beta2 (*)\n| | | | +--- io.github.classgraph:classgraph:4.8.175\n| | | | \\--- org.jetbrains.kotlin:kotlin-reflect:2.0.20 -> 2.2.0-Beta2 (c)\n| | | +--- com.github.ajalt:mordant:1.2.1\n| | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.21 -> 2.2.0-Beta2 (*)\n| | | | \\--- com.github.ajalt:colormath:1.2.0\n| | | | \\--- org.jetbrains.kotlin:kotlin-stdlib:1.2.51 -> 2.2.0-Beta2 (*)\n| | | +--- io.kotest:kotest-assertions-shared:6.0.0.M1\n| | | | \\--- io.kotest:kotest-assertions-shared-jvm:6.0.0.M1\n| | | | +--- org.jetbrains.kotlin:kotlin-stdlib:2.0.20 -> 2.2.0-Beta2 (*)\n| | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.8.0 -> 1.10.2 (*)\n| | | | +--- io.github.java-diff-utils:java-diff-utils:4.12\n| | | | +--- org.opentest4j:opentest4j:1.3.0\n| | | | +--- org.apache.commons:commons-lang3:3.13.0\n| | | | +--- org.jetbrains.kotlin:kotlin-reflect -> 2.2.0-Beta2 (*)\n| | | | +--- io.kotest:kotest-common:6.0.0.M1 (*)\n| | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0 -> 1.10.2 (*)\n| | | | \\--- org.jetbrains.kotlin:kotlin-reflect:2.0.20 -> 2.2.0-Beta2 (c)\n| | | +--- io.kotest:kotest-common:6.0.0.M1 (*)\n| | | +--- io.kotest:kotest-framework-api:6.0.0.M1\n| | | | \\--- io.kotest:kotest-framework-api-jvm:6.0.0.M1\n| | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0 -> 1.10.2 (*)\n| | | | +--- io.kotest:kotest-assertions-shared:6.0.0.M1 (*)\n| | | | +--- io.kotest:kotest-common:6.0.0.M1 (*)\n| | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-test:1.8.0 -> 1.10.2 (*)\n| | | | +--- org.jetbrains.kotlin:kotlin-stdlib:2.0.20 -> 2.2.0-Beta2 (*)\n| | | | +--- org.jetbrains.kotlin:kotlin-reflect -> 2.2.0-Beta2 (*)\n| | | | \\--- org.jetbrains.kotlin:kotlin-reflect:2.0.20 -> 2.2.0-Beta2 (c)\n| | | +--- org.jetbrains.kotlin:kotlin-stdlib:2.0.20 -> 2.2.0-Beta2 (*)\n| | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-test:1.8.0 -> 1.10.2 (*)\n| | | +--- org.opentest4j:opentest4j:1.3.0\n| | | +--- org.jetbrains.kotlin:kotlin-reflect -> 2.2.0-Beta2 (*)\n| | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-debug:1.8.0 -> 1.10.2\n| | | | +--- net.bytebuddy:byte-buddy:1.10.9\n| | | | +--- net.bytebuddy:byte-buddy-agent:1.10.9\n| | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2 (*)\n| | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.10.2 (*)\n| | | | +--- net.java.dev.jna:jna:5.9.0 -> 5.14.0\n| | | | +--- net.java.dev.jna:jna-platform:5.9.0 -> 5.14.0 (*)\n| | | | \\--- org.jetbrains.kotlin:kotlin-stdlib:2.1.0 -> 2.2.0-Beta2 (*)\n| | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0 -> 1.10.2 (*)\n| | | \\--- org.jetbrains.kotlin:kotlin-reflect:2.0.20 -> 2.2.0-Beta2 (c)\n| | +--- io.kotest:kotest-assertions-core:6.0.0.M1\n| | | \\--- io.kotest:kotest-assertions-core-jvm:6.0.0.M1\n| | | +--- io.kotest:kotest-assertions-shared:6.0.0.M1 (*)\n| | | +--- org.jetbrains.kotlin:kotlin-stdlib:2.0.20 -> 2.2.0-Beta2 (*)\n| | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.8.0 -> 1.10.2 (*)\n| | | +--- org.jetbrains.kotlin:kotlin-reflect -> 2.2.0-Beta2 (*)\n| | | +--- io.kotest:kotest-common:6.0.0.M1 (*)\n| | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0 -> 1.10.2 (*)\n| | | \\--- org.jetbrains.kotlin:kotlin-reflect:2.0.20 -> 2.2.0-Beta2 (c)\n| | +--- org.jetbrains.kotlin:kotlin-test-common -> 2.2.0-Beta2\n| | | \\--- org.jetbrains.kotlin:kotlin-test:2.2.0-Beta2\n| | | +--- org.jetbrains.kotlin:kotlin-stdlib:2.2.0-Beta2 (*)\n| | | +--- org.jetbrains.kotlin:kotlin-test-common:2.2.0-Beta2 (c)\n| | | \\--- org.jetbrains.kotlin:kotlin-test-annotations-common:2.2.0-Beta2 (c)\n| | +--- org.jetbrains.kotlin:kotlin-test-annotations-common -> 2.2.0-Beta2\n| | | \\--- org.jetbrains.kotlin:kotlin-test:2.2.0-Beta2 (*)\n| | +--- org.jetbrains.kotlin:kotlin-test-common:2.1.0 -> 2.2.0-Beta2 (c)\n| | \\--- org.jetbrains.kotlin:kotlin-test-annotations-common:2.1.0 -> 2.2.0-Beta2 (c)\n| +--- com.zaxxer:HikariCP:5.0.1 -> 6.3.0 (*)\n| +--- com.typesafe:config:1.4.1 -> 1.4.3\n| \\--- org.jetbrains:annotations:24.1.0 -> 26.0.1\n```","author":{"url":"https://github.com/sureshg","@type":"Person","name":"sureshg"},"datePublished":"2025-05-02T15:01:34Z","url":"https://github.com/ExoQuery/ExoQuery/issues/4"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a69eb895-3630-f14a-2a9a-c9897f6f995f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D292:2EDE49:B004A:F12AA:6AFBA78F |
| html-safe-nonce | 113daa981088498398aa51b4286af06db35411d8bbbe953c5db6b983dd65c1be |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjkyOjJFREU0OTpCMDA0QTpGMTJBQTo2QUZCQTc4RiIsInZpc2l0b3JfaWQiOiI3MjcyMTQ4NDk3NDkzMzcwNzY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2d8edc3128010d896206799af200404e98dc4717fd1cce7aacbb5b5e98c0b7ae |
| hovercard-subject-tag | issue:3036240711 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ExoQuery/ExoQuery/4/issue_layout |
| twitter:image | https://opengraph.githubassets.com/28b71e317a5fe8c905316391de511523884b1deb5f18e6185af5b9c21b7b9dc4/ExoQuery/ExoQuery/issues/4 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/28b71e317a5fe8c905316391de511523884b1deb5f18e6185af5b9c21b7b9dc4/ExoQuery/ExoQuery/issues/4 |
| og:image:alt | I just added io.exoquery:exoquery-runner-jdbc as a dependency to my Ktor backend app, replacing Exposed. With Exposed, the app size was around 40MB. After adding this dependency, its shadow JAR siz... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sureshg |
| hostname | github.com |
| expected-hostname | github.com |
| None | 03e5090f0cea887cafa036e3af34d7c668d83b5e9e9e03df72a90efb49b69cdf |
| turbo-cache-control | no-preview |
| go-import | github.com/ExoQuery/ExoQuery git https://github.com/ExoQuery/ExoQuery.git |
| octolytics-dimension-user_id | 134092117 |
| octolytics-dimension-user_login | ExoQuery |
| octolytics-dimension-repository_id | 968484754 |
| octolytics-dimension-repository_nwo | ExoQuery/ExoQuery |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 968484754 |
| octolytics-dimension-repository_network_root_nwo | ExoQuery/ExoQuery |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 41f00295b9a35dca977890ab83b22788ab211dc8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width