From 2b293e58056ea897c305bd39e21b42f5cd4d1a62 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 4 Feb 2022 19:29:36 +0530 Subject: Port build to Gradle 7.4-rc-2 (#1707) --- .../android-plugins/src/main/kotlin/versioning/VersioningPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build-logic/android-plugins/src/main/kotlin/versioning/VersioningPlugin.kt') diff --git a/build-logic/android-plugins/src/main/kotlin/versioning/VersioningPlugin.kt b/build-logic/android-plugins/src/main/kotlin/versioning/VersioningPlugin.kt index 671e9e5b..3083921f 100644 --- a/build-logic/android-plugins/src/main/kotlin/versioning/VersioningPlugin.kt +++ b/build-logic/android-plugins/src/main/kotlin/versioning/VersioningPlugin.kt @@ -53,7 +53,7 @@ class VersioningPlugin : Plugin { require(propFile.asFile.exists()) { "A 'version.properties' file must exist in the project subdirectory to use this plugin" } - val contents = providers.fileContents(propFile).asText.forUseAtConfigurationTime() + val contents = providers.fileContents(propFile).asText val versionProps = Properties().also { it.load(contents.get().byteInputStream()) } val versionName = requireNotNull(versionProps.getProperty(VERSIONING_PROP_VERSION_NAME)) { -- cgit v1.2.3