diff --git a/pygradle-plugin/src/main/groovy/com/linkedin/gradle/python/tasks/BuildWheelsTask.groovy b/pygradle-plugin/src/main/groovy/com/linkedin/gradle/python/tasks/BuildWheelsTask.groovy index 035e184a..d5bfc3e6 100644 --- a/pygradle-plugin/src/main/groovy/com/linkedin/gradle/python/tasks/BuildWheelsTask.groovy +++ b/pygradle-plugin/src/main/groovy/com/linkedin/gradle/python/tasks/BuildWheelsTask.groovy @@ -60,6 +60,9 @@ class BuildWheelsTask extends DefaultTask implements SupportsWheelCache, Support @InputFiles FileCollection installFileCollection + @Input + List args = [] + @Input @Optional Map 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)