diff --git a/src/main/kotlin/de/davis/gradle/plugin/versioning/VersioningPlugin.kt b/src/main/kotlin/de/davis/gradle/plugin/versioning/VersioningPlugin.kt index 1802eed..bba576e 100644 --- a/src/main/kotlin/de/davis/gradle/plugin/versioning/VersioningPlugin.kt +++ b/src/main/kotlin/de/davis/gradle/plugin/versioning/VersioningPlugin.kt @@ -14,11 +14,11 @@ class VersioningPlugin @Inject constructor(private val objectFactory: ObjectFact extensions.create(VersioningExtension.EXTENSION_NAME, objectFactory, rootDir, logger) + addDependencies() afterEvaluate { val nextVersion = ext.computedVersion version = nextVersion - addDependencies() createVersionProviderFile(nextVersion, ext.computedVersionCode) val versionPrinter = tasks.register("printVersion") {