Skip to content

Commit

Permalink
fix: remove gradle limitation which forced the use of the setupScript…
Browse files Browse the repository at this point in the history
…() method
  • Loading branch information
nicolasfara committed Jun 15, 2022
1 parent 617ba63 commit f51b06b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ class ConventionalCommits : Plugin<Project> {

override fun apply(project: Project) {
val extension = project.createExtension<ConventionalCommitsExtension>("conventionalCommits", project)
extension.setupScript()
project.afterEvaluate {
extension.setupScript()
}
}
}

0 comments on commit f51b06b

Please sign in to comment.