Skip to content

Commit

Permalink
Merge pull request #202 from zvezdan/args-for-wheel-task
Browse files Browse the repository at this point in the history
Add args input for wheels task.
  • Loading branch information
zvezdan authored Mar 16, 2018
2 parents 940ab99 + b62df06 commit 2fdd019
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -60,6 +60,9 @@ class BuildWheelsTask extends DefaultTask implements SupportsWheelCache, Support
@InputFiles
FileCollection installFileCollection

@Input
List<String> args = []

@Input
@Optional
Map<String, String> environment
@@ -209,6 +212,8 @@ class BuildWheelsTask extends DefaultTask implements SupportsWheelCache, Support
'--no-deps',
]

commandLine.addAll(args)

def globalOptions = packageSettings.getGlobalOptions(packageInfo)
if (globalOptions != null) {
commandLine.addAll(globalOptions)

0 comments on commit 2fdd019

Please sign in to comment.