From 1280d6c43c0c2d0d12631baf362b4ae47837e8ce Mon Sep 17 00:00:00 2001 From: Davis Date: Wed, 31 Jul 2024 18:50:25 +0200 Subject: [PATCH] [SemVer] Add SemVer dependency correctly --- .../de/davis/gradle/plugin/versioning/VersioningPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") {