Skip to content

Commit

Permalink
fix: allow plugin application from external gradle script
Browse files Browse the repository at this point in the history
  • Loading branch information
rzabini committed Oct 11, 2015
1 parent 3f3e049 commit d0ae51c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class SemanticReleasePlugin implements Plugin<Project> {

void apply(Project project) {
project.with {
plugins.apply('org.ajoberstar.grgit')
plugins.apply('org.ajoberstar.release-base')
plugins.apply(org.ajoberstar.gradle.git.base.GrgitPlugin)
plugins.apply(org.ajoberstar.gradle.git.release.base.BaseReleasePlugin)
SemanticReleasePluginExtension semanticReleaseExtension = extensions.create("semanticRelease", SemanticReleasePluginExtension, project)
ReleasePluginExtension releaseExtension = extensions.findByType(ReleasePluginExtension)
tasks.release.doLast {
Expand Down

0 comments on commit d0ae51c

Please sign in to comment.