Skip to content

Add support for Gradle Scala projects #316

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

Merged
merged 2 commits into from
Aug 27, 2021

Conversation

olafurpg
Copy link
Member

Previously, running lsif-java index in a Gradle project would only
index the Java parts of the codebase. Now, the command also indexes
Scala files. Fixes #301

Previously, running `lsif-java index` in a Gradle project would only
index the Java parts of the codebase. Now, the command also indexes
Scala files. Fixes sourcegraph#301
Comment on lines 10 to 17
import java.lang.instrument.ClassFileTransformer;
import java.lang.instrument.Instrumentation;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import java.security.ProtectionDomain;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these required?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They're not required, just missing a javafix tool to automatically remove them for me :p

@olafurpg olafurpg merged commit 2fed737 into sourcegraph:main Aug 27, 2021
@olafurpg olafurpg deleted the scala-gradle branch August 27, 2021 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Scala support for Gradle projects
2 participants