diff options
| author | Harsh Shandilya <me@msfjarvis.dev> | 2022-02-04 19:29:36 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-04 13:59:36 +0000 |
| commit | 2b293e58056ea897c305bd39e21b42f5cd4d1a62 (patch) | |
| tree | adde6c48d9f78d2aa70fe8867057cefe7bda27cd /build-logic/android-plugins/src/main/kotlin/versioning/VersioningPlugin.kt | |
| parent | ce75d0e49b68e28aedd19293515d2a8fa56e2180 (diff) | |
| download | HardenedPass-2b293e58056ea897c305bd39e21b42f5cd4d1a62.tar.gz HardenedPass-2b293e58056ea897c305bd39e21b42f5cd4d1a62.zip | |
Port build to Gradle 7.4-rc-2 (#1707)
Diffstat (limited to 'build-logic/android-plugins/src/main/kotlin/versioning/VersioningPlugin.kt')
| -rw-r--r-- | build-logic/android-plugins/src/main/kotlin/versioning/VersioningPlugin.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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<Project> { 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)) { |
