Skip to content

Commit

Permalink
[SemVer] Add SemVer dependency correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
OffRange committed Jul 31, 2024
1 parent 0e7a30a commit 1280d6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ class VersioningPlugin @Inject constructor(private val objectFactory: ObjectFact
extensions.create<VersioningExtension>(VersioningExtension.EXTENSION_NAME, objectFactory, rootDir, logger)


addDependencies()
afterEvaluate {
val nextVersion = ext.computedVersion
version = nextVersion

addDependencies()
createVersionProviderFile(nextVersion, ext.computedVersionCode)

val versionPrinter = tasks.register<VersionPrinter>("printVersion") {
Expand Down

0 comments on commit 1280d6c

Please sign in to comment.