[Build] Remove usages of Provider.forUseAtConfigurationTime()
It's not required anymore and was deprecated since Gradle 7.4 #KTI-1221 In Progress
This commit is contained in:
committed by
Space Team
parent
58490ea184
commit
407a2d4203
@@ -31,9 +31,9 @@ val currentOsType = run {
|
||||
else -> OsName.UNKNOWN
|
||||
}
|
||||
|
||||
val osArch = when (providers.systemProperty("sun.arch.data.model").forUseAtConfigurationTime().get()) {
|
||||
val osArch = when (providers.systemProperty("sun.arch.data.model").get()) {
|
||||
"32" -> OsArch.X86_32
|
||||
"64" -> when (providers.systemProperty("os.arch").forUseAtConfigurationTime().get().toLowerCase()) {
|
||||
"64" -> when (providers.systemProperty("os.arch").get().toLowerCase()) {
|
||||
"aarch64" -> OsArch.ARM64
|
||||
else -> OsArch.X86_64
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user