Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing unused dependencies? #369

Open
codeconsole opened this issue Jan 31, 2025 · 0 comments
Open

Importing unused dependencies? #369

codeconsole opened this issue Jan 31, 2025 · 0 comments

Comments

@codeconsole
Copy link
Contributor

Why import everything but the kitchen sink to resolve an exception only caused by 2 missing dependencies?

See #352 (comment)

    implementation 'org.graalvm.polyglot:js:24.1.1' // avoid java.lang.ClassNotFoundException: org.graalvm.polyglot.Value when calling js file
    implementation 'org.graalvm.polyglot:polyglot:24.1.1' // avoid java.lang.ClassNotFoundException: org.graalvm.polyglot.Value when 
calling js file

+--- com.bertramlabs.plugins:asset-pipeline-grails:5.0.5
|    +--- org.grails:grails-core -> 7.0.0-SNAPSHOT (*)
|    +--- org.grails:grails-logging -> 7.0.0-SNAPSHOT (*)
|    +--- org.grails:grails-plugin-url-mappings -> 7.0.0-SNAPSHOT (*)
|    +--- com.github.ben-manes.caffeine:caffeine:3.1.8 (*)
|    +--- org.grails:grails-web-boot -> 7.0.0-SNAPSHOT (*)
|    +--- org.springframework.boot:spring-boot-autoconfigure -> 3.4.1 (*)
|    +--- org.springframework.boot:spring-boot-starter-logging -> 3.4.1 (*)
|    +--- org.springframework.boot:spring-boot-starter-validation -> 3.4.1 (*)
|    \--- com.bertramlabs.plugins:asset-pipeline-core:5.0.5
|         +--- org.graalvm.sdk:graal-sdk:22.0.0.2 -> 24.1.1
|         |    +--- org.graalvm.sdk:collections:24.1.1
|         |    +--- org.graalvm.sdk:nativeimage:24.1.1
|         |    |    \--- org.graalvm.sdk:word:24.1.1
|         |    +--- org.graalvm.polyglot:polyglot:24.1.1
|         |    |    +--- org.graalvm.sdk:collections:24.1.1
|         |    |    \--- org.graalvm.sdk:nativeimage:24.1.1 (*)
|         |    \--- org.graalvm.sdk:word:24.1.1
|         +--- org.graalvm.js:js:22.0.0.2 -> 24.1.1
|         |    +--- org.graalvm.js:js-community:24.1.1
|         |    |    +--- org.graalvm.js:js-language:24.1.1
|         |    |    |    +--- org.graalvm.regex:regex:24.1.1
|         |    |    |    |    +--- org.graalvm.truffle:truffle-api:24.1.1
|         |    |    |    |    |    +--- org.graalvm.sdk:collections:24.1.1
|         |    |    |    |    |    +--- org.graalvm.sdk:nativeimage:24.1.1 (*)
|         |    |    |    |    |    \--- org.graalvm.polyglot:polyglot:24.1.1 (*)
|         |    |    |    |    \--- org.graalvm.shadowed:icu4j:24.1.1
|         |    |    |    +--- org.graalvm.truffle:truffle-api:24.1.1 (*)
|         |    |    |    +--- org.graalvm.polyglot:polyglot:24.1.1 (*)
|         |    |    |    \--- org.graalvm.shadowed:icu4j:24.1.1
|         |    |    \--- org.graalvm.truffle:truffle-runtime:24.1.1
|         |    |         +--- org.graalvm.sdk:jniutils:24.1.1
|         |    |         |    +--- org.graalvm.sdk:collections:24.1.1
|         |    |         |    \--- org.graalvm.sdk:nativeimage:24.1.1 (*)
|         |    |         +--- org.graalvm.truffle:truffle-api:24.1.1 (*)
|         |    |         \--- org.graalvm.truffle:truffle-compiler:24.1.1
|         |    \--- org.graalvm.truffle:truffle-enterprise:24.1.1
|         |         +--- org.graalvm.truffle:truffle-compiler:24.1.1
|         |         +--- org.graalvm.truffle:truffle-runtime:24.1.1 (*)
|         |         +--- org.graalvm.sdk:jniutils:24.1.1 (*)
|         |         \--- org.graalvm.sdk:nativebridge:24.1.1
|         |              \--- org.graalvm.sdk:jniutils:24.1.1 (*)
|         +--- org.graalvm.js:js-scriptengine:22.0.0.2 -> 24.1.1
|         |    \--- org.graalvm.polyglot:polyglot:24.1.1 (*)
|         \--- org.slf4j:slf4j-api:1.7.28 -> 2.0.16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant