@@ -68,6 +68,7 @@ sealed abstract class SettingKey[T]
68
68
69
69
final def scopedKey : ScopedKey [T ] = ScopedKey (scope, key)
70
70
71
+ // @deprecated(Scope.inIsDeprecated, "1.5.0")
71
72
final def in (scope : Scope ): SettingKey [T ] =
72
73
Scoped .scopedSetting(Scope .replaceThis(this .scope)(scope), this .key)
73
74
@@ -140,6 +141,7 @@ sealed abstract class TaskKey[T]
140
141
141
142
def scopedKey : ScopedKey [Task [T ]] = ScopedKey (scope, key)
142
143
144
+ // @deprecated(Scope.inIsDeprecated, "1.5.0")
143
145
def in (scope : Scope ): TaskKey [T ] =
144
146
Scoped .scopedTask(Scope .replaceThis(this .scope)(scope), this .key)
145
147
@@ -206,6 +208,7 @@ sealed trait InputKey[T]
206
208
207
209
def scopedKey : ScopedKey [InputTask [T ]] = ScopedKey (scope, key)
208
210
211
+ // @deprecated(Scope.inIsDeprecated, "1.5.0")
209
212
def in (scope : Scope ): InputKey [T ] =
210
213
Scoped .scopedInput(Scope .replaceThis(this .scope)(scope), this .key)
211
214
@@ -244,18 +247,32 @@ object Scoped {
244
247
*
245
248
*/
246
249
sealed trait ScopingSetting [ResultType ] {
250
+ // @deprecated(Scope.inIsDeprecated, "1.5.0")
247
251
def in (s : Scope ): ResultType
248
252
253
+ @ deprecated(Scope .inIsDeprecated, " 1.5.0" )
249
254
def in (p : Reference ): ResultType = in(Select (p), This , This )
255
+
256
+ @ deprecated(Scope .inIsDeprecated, " 1.5.0" )
250
257
def in (t : Scoped ): ResultType = in(This , This , Select (t.key))
258
+
259
+ @ deprecated(Scope .inIsDeprecated, " 1.5.0" )
251
260
def in (c : ConfigKey ): ResultType = in(This , Select (c), This )
261
+
262
+ @ deprecated(Scope .inIsDeprecated, " 1.5.0" )
252
263
def in (c : ConfigKey , t : Scoped ): ResultType = in(This , Select (c), Select (t.key))
264
+
265
+ @ deprecated(Scope .inIsDeprecated, " 1.5.0" )
253
266
def in (p : Reference , c : ConfigKey ): ResultType = in(Select (p), Select (c), This )
267
+
268
+ @ deprecated(Scope .inIsDeprecated, " 1.5.0" )
254
269
def in (p : Reference , t : Scoped ): ResultType = in(Select (p), This , Select (t.key))
255
270
271
+ @ deprecated(Scope .inIsDeprecated, " 1.5.0" )
256
272
def in (p : Reference , c : ConfigKey , t : Scoped ): ResultType =
257
273
in(Select (p), Select (c), Select (t.key))
258
274
275
+ @ deprecated(Scope .inIsDeprecated, " 1.5.0" )
259
276
def in (
260
277
p : ScopeAxis [Reference ],
261
278
c : ScopeAxis [ConfigKey ],
0 commit comments