Title: Version 17 brings transitively `antlr4` instead of just `antlr4-runtime` · Issue #2746 · graphql-java/graphql-java · GitHub
Open Graph Title: Version 17 brings transitively `antlr4` instead of just `antlr4-runtime` · Issue #2746 · graphql-java/graphql-java
X Title: Version 17 brings transitively `antlr4` instead of just `antlr4-runtime` · Issue #2746 · graphql-java/graphql-java
Description: Describe the bug Starting version 17, the library brings transitively antlr4 instead of just antlr4-runtime: \--- com.graphql-java:graphql-java:17.0 +--- org.antlr:antlr4-runtime:4.9.2 +--- org.slf4j:slf4j-api:1.7.30 +--- com.google.guav...
Open Graph Description: Describe the bug Starting version 17, the library brings transitively antlr4 instead of just antlr4-runtime: \--- com.graphql-java:graphql-java:17.0 +--- org.antlr:antlr4-runtime:4.9.2 +--- org.slf...
X Description: Describe the bug Starting version 17, the library brings transitively antlr4 instead of just antlr4-runtime: \--- com.graphql-java:graphql-java:17.0 +--- org.antlr:antlr4-runtime:4.9.2 +--- org.slf...
Opengraph URL: https://github.com/graphql-java/graphql-java/issues/2746
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Version 17 brings transitively `antlr4` instead of just `antlr4-runtime`","articleBody":"**Describe the bug**\r\nStarting version 17, the library brings transitively `antlr4` instead of just `antlr4-runtime`:\r\n```\r\n\\--- com.graphql-java:graphql-java:17.0\r\n +--- org.antlr:antlr4-runtime:4.9.2\r\n +--- org.slf4j:slf4j-api:1.7.30\r\n +--- com.google.guava:guava:30.0-jre\r\n | +--- com.google.guava:failureaccess:1.0.1\r\n | +--- com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava\r\n | +--- com.google.code.findbugs:jsr305:3.0.2\r\n | +--- org.checkerframework:checker-qual:3.5.0\r\n | +--- com.google.errorprone:error_prone_annotations:2.3.4\r\n | \\--- com.google.j2objc:j2objc-annotations:1.3\r\n +--- com.graphql-java:java-dataloader:2.2.3\r\n +--- org.reactivestreams:reactive-streams:1.0.2\r\n \\--- org.antlr:antlr4:4.9.2\r\n +--- org.antlr:antlr4-runtime:4.9.2\r\n +--- org.antlr:antlr-runtime:3.5.2\r\n +--- org.antlr:ST4:4.3\r\n | \\--- org.antlr:antlr-runtime:3.5.2\r\n +--- org.abego.treelayout:org.abego.treelayout.core:1.0.3\r\n +--- org.glassfish:javax.json:1.0.4\r\n \\--- com.ibm.icu:icu4j:61.1\r\n```\r\nThe change is noticeable because `com.ibm.icu:icu4j` from `antlr4` \"weighs\" ~11MB.\r\n\r\n**To Reproduce**\r\nHere is [sample repo](https://github.com/svilen-ivanov/graphql-antlr) ([the repo as zip](https://github.com/svilen-ivanov/graphql-antlr/archive/refs/heads/master.zip)). Here is [execution in Github Actions](https://github.com/svilen-ivanov/graphql-antlr/runs/5351964354?check_suite_focus=true#step:4:63)\r\n\r\nRun:\r\n```shell\r\n./gradlew :app:dependencies --configuration runtimeClasspath\r\n```\r\nThe result is:\r\n```\r\n\r\n\u003e Task :app:dependencies\r\n\r\n------------------------------------------------------------\r\nProject ':app'\r\n------------------------------------------------------------\r\n\r\nruntimeClasspath - Runtime classpath of compilation 'main' (target (jvm)).\r\n+--- org.jetbrains.kotlin:kotlin-bom:1.5.0\r\n| +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.0 (c)\r\n| +--- org.jetbrains.kotlin:kotlin-stdlib:1.5.0 (c)\r\n| +--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.0 (c)\r\n| \\--- org.jetbrains.kotlin:kotlin-stdlib-common:1.5.0 (c)\r\n+--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.0\r\n| +--- org.jetbrains.kotlin:kotlin-stdlib:1.5.0\r\n| | +--- org.jetbrains:annotations:13.0\r\n| | \\--- org.jetbrains.kotlin:kotlin-stdlib-common:1.5.0\r\n| \\--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.0\r\n| \\--- org.jetbrains.kotlin:kotlin-stdlib:1.5.0 (*)\r\n\\--- com.graphql-java:graphql-java:17.3\r\n +--- org.antlr:antlr4-runtime:4.9.2\r\n +--- org.slf4j:slf4j-api:1.7.30\r\n +--- com.google.guava:guava:30.0-jre\r\n | +--- com.google.guava:failureaccess:1.0.1\r\n | +--- com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava\r\n | +--- com.google.code.findbugs:jsr305:3.0.2\r\n | +--- org.checkerframework:checker-qual:3.5.0\r\n | +--- com.google.errorprone:error_prone_annotations:2.3.4\r\n | \\--- com.google.j2objc:j2objc-annotations:1.3\r\n +--- com.graphql-java:java-dataloader:3.1.0\r\n | \\--- org.slf4j:slf4j-api:1.7.30\r\n +--- org.reactivestreams:reactive-streams:1.0.2\r\n \\--- org.antlr:antlr4:4.9.2\r\n +--- org.antlr:antlr4-runtime:4.9.2\r\n +--- org.antlr:antlr-runtime:3.5.2\r\n +--- org.antlr:ST4:4.3\r\n | \\--- org.antlr:antlr-runtime:3.5.2\r\n +--- org.abego.treelayout:org.abego.treelayout.core:1.0.3\r\n +--- org.glassfish:javax.json:1.0.4\r\n \\--- com.ibm.icu:icu4j:61.1\r\n```\r\n\r\nVersion 16 is unaffected:\r\n```\r\nruntimeClasspath - Runtime classpath of compilation 'main' (target (jvm)).\r\n+--- org.jetbrains.kotlin:kotlin-bom:1.5.0\r\n| +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.0 (c)\r\n| +--- org.jetbrains.kotlin:kotlin-stdlib:1.5.0 (c)\r\n| +--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.0 (c)\r\n| \\--- org.jetbrains.kotlin:kotlin-stdlib-common:1.5.0 (c)\r\n+--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.0\r\n| +--- org.jetbrains.kotlin:kotlin-stdlib:1.5.0\r\n| | +--- org.jetbrains:annotations:13.0\r\n| | \\--- org.jetbrains.kotlin:kotlin-stdlib-common:1.5.0\r\n| \\--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.0\r\n| \\--- org.jetbrains.kotlin:kotlin-stdlib:1.5.0 (*)\r\n\\--- com.graphql-java:graphql-java:16.2\r\n +--- com.graphql-java:java-dataloader:2.2.3\r\n +--- org.reactivestreams:reactive-streams:1.0.2\r\n +--- org.antlr:antlr4-runtime:4.8\r\n \\--- org.slf4j:slf4j-api:1.7.30\r\n```","author":{"url":"https://github.com/svilen-ivanov","@type":"Person","name":"svilen-ivanov"},"datePublished":"2022-02-27T19:05:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/2746/graphql-java/issues/2746"}
| 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:63929c7e-e0cf-c5db-d436-52a6272ed4c3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C600:10CC01:CBFDB4:1188E0B:6A61A5E3 |
| html-safe-nonce | 24b87f30c5c7f50d654929023d0c40372e2dc24f188e0bda7d97b85b48a4345c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjAwOjEwQ0MwMTpDQkZEQjQ6MTE4OEUwQjo2QTYxQTVFMyIsInZpc2l0b3JfaWQiOiIxMTQ0NjIzMTk1Nzg0MDYyNDM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cd724bdd97545e130ee5f373c5960a7e50120f8037b4f36caa59bab5989b39a0 |
| hovercard-subject-tag | issue:1153361295 |
| 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/graphql-java/graphql-java/2746/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7cc62141a9385461228547152df5efbb936d48b16749d1abf51badb62eaa93a5/graphql-java/graphql-java/issues/2746 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7cc62141a9385461228547152df5efbb936d48b16749d1abf51badb62eaa93a5/graphql-java/graphql-java/issues/2746 |
| og:image:alt | Describe the bug Starting version 17, the library brings transitively antlr4 instead of just antlr4-runtime: \--- com.graphql-java:graphql-java:17.0 +--- org.antlr:antlr4-runtime:4.9.2 +--- org.slf... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | svilen-ivanov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6f4633bcf01c1ad14b73fd07dd39ac31d61f3d3c2578ee08ec1792b7b351eeb9 |
| turbo-cache-control | no-preview |
| go-import | github.com/graphql-java/graphql-java git https://github.com/graphql-java/graphql-java.git |
| octolytics-dimension-user_id | 14289921 |
| octolytics-dimension-user_login | graphql-java |
| octolytics-dimension-repository_id | 38602457 |
| octolytics-dimension-repository_nwo | graphql-java/graphql-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38602457 |
| octolytics-dimension-repository_network_root_nwo | graphql-java/graphql-java |
| 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 | ac296ae7f21856f1f92adbad22f870b6fbb4b907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width