This repository has been archived by the owner on Mar 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #423 from tgodzik/add-mirror
Add mirror env variable when set by the user
- Loading branch information
Showing
5 changed files
with
44 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/** | ||
* These are some of the common user configuration options used in Metals and needed for the editors. | ||
* | ||
* - https://scalameta.org/metals/docs/integrations/new-editor#metals-user-configuration | ||
*/ | ||
export enum UserConfiguration { | ||
/** | ||
* Metals server version | ||
*/ | ||
ServerVersion = "serverVersion", | ||
/** | ||
* Metals server Java properties | ||
*/ | ||
ServerProperties = "serverProperties", | ||
/** | ||
* Directory containing the Java binary. | ||
*/ | ||
JavaHome = "javaHome", | ||
/** | ||
* Additional repositories that can be used to download dependencies. | ||
* https://get-coursier.io/docs/other-repositories | ||
*/ | ||
CustomRepositories = "customRepositories", | ||
/** | ||
* Repository to use instead of maven central for example `https://jcenter.bintray.com` | ||
*/ | ||
CoursierMirror = "coursierMirror", | ||
} |