Skip to content

Add referenced libraries when using gradle #2932

@chientrm

Description

@chientrm

Add referenced libraries when using gradle

Environment
  • Operating System: Ubuntu 20.04
  • JDK version: 11
  • Visual Studio Code version: Gitpod Code 1.75.1
  • Java extension version: 1.14.0
Description

When there's not build.gradle or pom.xml in the root project, we can use java.project.referencedLibraries to add paths to local jar files so that vscode will suggest classes from them.
When there's build.gradle or pom.xml in the root project, java.project.referencedLibraries is ignored.

Expected

How can I get the same result while using build.gradle?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions