@@ -10,39 +10,46 @@ object Keys {
10
10
val userName = new Key .StringEntry (
11
11
prefix = Seq (" publish" , " user" ),
12
12
name = " name" ,
13
- description = " The 'name' user detail, used for publishing."
13
+ description = " The 'name' user detail, used for publishing." ,
14
+ hidden = true
14
15
)
15
16
val userEmail = new Key .StringEntry (
16
17
prefix = Seq (" publish" , " user" ),
17
18
name = " email" ,
18
- description = " The 'email' user detail, used for publishing."
19
+ description = " The 'email' user detail, used for publishing." ,
20
+ hidden = true
19
21
)
20
22
val userUrl = new Key .StringEntry (
21
23
prefix = Seq (" publish" , " user" ),
22
24
name = " url" ,
23
- description = " The 'url' user detail, used for publishing."
25
+ description = " The 'url' user detail, used for publishing." ,
26
+ hidden = true
24
27
)
25
28
26
29
val ghToken = new Key .PasswordEntry (
27
30
prefix = Seq (" github" ),
28
31
name = " token" ,
29
- description = " GitHub token."
32
+ description = " GitHub token." ,
33
+ hidden = true
30
34
)
31
35
32
36
val pgpSecretKey = new Key .PasswordEntry (
33
37
prefix = Seq (" pgp" ),
34
38
name = " secret-key" ,
35
- description = " The PGP secret key, used for signing."
39
+ description = " The PGP secret key, used for signing." ,
40
+ hidden = true
36
41
)
37
42
val pgpSecretKeyPassword = new Key .PasswordEntry (
38
43
prefix = Seq (" pgp" ),
39
44
name = " secret-key-password" ,
40
- description = " The PGP secret key password, used for signing."
45
+ description = " The PGP secret key password, used for signing." ,
46
+ hidden = true
41
47
)
42
48
val pgpPublicKey = new Key .PasswordEntry (
43
49
prefix = Seq (" pgp" ),
44
50
name = " public-key" ,
45
- description = " The PGP public key, used for signing."
51
+ description = " The PGP public key, used for signing." ,
52
+ hidden = true
46
53
)
47
54
48
55
val actions = new Key .BooleanEntry (
@@ -78,30 +85,35 @@ object Keys {
78
85
val proxyAddress = new Key .StringEntry (
79
86
prefix = Seq (" httpProxy" ),
80
87
name = " address" ,
81
- description = " HTTP proxy address."
88
+ description = " HTTP proxy address." ,
89
+ hidden = true
82
90
)
83
91
val proxyUser = new Key .PasswordEntry (
84
92
prefix = Seq (" httpProxy" ),
85
93
name = " user" ,
86
- description = " HTTP proxy user (used for authentication)."
94
+ description = " HTTP proxy user (used for authentication)." ,
95
+ hidden = true
87
96
)
88
97
val proxyPassword = new Key .PasswordEntry (
89
98
prefix = Seq (" httpProxy" ),
90
99
name = " password" ,
91
- description = " HTTP proxy password (used for authentication)."
100
+ description = " HTTP proxy password (used for authentication)." ,
101
+ hidden = true
92
102
)
93
103
94
104
val repositoryMirrors = new Key .StringListEntry (
95
105
prefix = Seq (" repositories" ),
96
106
name = " mirrors" ,
97
107
description =
98
- s " Repository mirrors, syntax: repositories.mirrors maven:*=https://repository.company.com/maven "
108
+ s " Repository mirrors, syntax: repositories.mirrors maven:*=https://repository.company.com/maven " ,
109
+ hidden = true
99
110
)
100
111
val defaultRepositories = new Key .StringListEntry (
101
112
prefix = Seq (" repositories" ),
102
113
name = " default" ,
103
114
description =
104
- " Default repository, syntax: https://first-repo.company.com https://second-repo.company.com"
115
+ " Default repository, syntax: https://first-repo.company.com https://second-repo.company.com" ,
116
+ hidden = true
105
117
)
106
118
107
119
// Kept for binary compatibility
@@ -111,7 +123,8 @@ object Keys {
111
123
val globalInteractiveWasSuggested = new Key .BooleanEntry (
112
124
prefix = Seq .empty,
113
125
name = " interactive-was-suggested" ,
114
- description = " Setting indicating if the global interactive mode was already suggested."
126
+ description = " Setting indicating if the global interactive mode was already suggested." ,
127
+ hidden = true
115
128
)
116
129
117
130
def all : Seq [Key [_]] = Seq [Key [_]](
@@ -196,6 +209,7 @@ object Keys {
196
209
val repositoryCredentials : Key [List [RepositoryCredentials ]] =
197
210
new Key [List [RepositoryCredentials ]] {
198
211
override val description : String = " Repository credentials, syntax: value:user value:password"
212
+ override val hidden : Boolean = true
199
213
200
214
private def asJson (credentials : RepositoryCredentials ): RepositoryCredentialsAsJson =
201
215
RepositoryCredentialsAsJson (
@@ -320,6 +334,7 @@ object Keys {
320
334
val publishCredentials : Key [List [PublishCredentials ]] = new Key [List [PublishCredentials ]] {
321
335
override val description : String =
322
336
" Publishing credentials, syntax: s1.oss.sonatype.org value:user value:password"
337
+ override val hidden : Boolean = true
323
338
324
339
private def asJson (credentials : PublishCredentials ): PublishCredentialsAsJson =
325
340
PublishCredentialsAsJson (
0 commit comments