We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a03964 commit d950e57Copy full SHA for d950e57
src/main/groovy/io/nextflow/gradle/NextflowPlugin.groovy
@@ -128,8 +128,10 @@ class NextflowPlugin implements Plugin<Project> {
128
project.tasks.extensionPoints,
129
project.tasks.classes
130
]
131
- if( config.buildSpec )
132
- project.tasks.packagePlugin.dependsOn << project.tasks.buildSpec
+ project.afterEvaluate {
+ if( config.buildSpec )
133
+ project.tasks.packagePlugin.dependsOn << project.tasks.buildSpec
134
+ }
135
project.tasks.assemble.dependsOn << project.tasks.packagePlugin
136
137
// installPlugin - installs plugin to (local) nextflow plugins dir
0 commit comments