File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
modules/config/src/main/scala/scala/cli/config Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import scala.cli.config.Util._
7
7
8
8
/** A configuration key
9
9
*/
10
- sealed abstract class Key [T ] {
10
+ abstract class Key [T ] {
11
11
12
12
/** Key prefix, such as "foo.a" in "foo.a.b" */
13
13
def prefix : Seq [String ]
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ object Keys {
19
19
20
20
val interactive = new Key .BooleanEntry (Seq .empty, " interactive" )
21
21
22
+ val proxyAddress = new Key .StringEntry (Seq (" httpProxy" ), " address" )
23
+ val proxyUser = new Key .PasswordEntry (Seq (" httpProxy" ), " user" )
24
+ val proxyPassword = new Key .PasswordEntry (Seq (" httpProxy" ), " password" )
25
+
22
26
// setting indicating if the global interactive mode was suggested
23
27
val globalInteractiveWasSuggested = new Key .BooleanEntry (Seq .empty, " interactive-was-suggested" )
24
28
@@ -34,7 +38,10 @@ object Keys {
34
38
pgpSecretKeyPassword,
35
39
pgpPublicKey,
36
40
sonatypeUser,
37
- sonatypePassword
41
+ sonatypePassword,
42
+ proxyAddress,
43
+ proxyUser,
44
+ proxyPassword
38
45
)
39
46
40
47
lazy val map : Map [String , Key [_]] = all.map(e => e.fullName -> e).toMap
You can’t perform that action at this time.
0 commit comments