linkedin / pygradle

Using Gradle to build Python projects
https://github.com/linkedin/pygradle
Apache License 2.0
586 stars 147 forks source link

pass pexOptions to plugin #352

Open shvilime opened 3 years ago

shvilime commented 3 years ago

Hi ! How can I pass pexOptions to the last version of plugin? In version 0.9.11 I used to buildPex.pexOptions = ["--entry=tax.main"], but now realBuildPex.pexOptions doesn't work.

shvilime commented 3 years ago

After researching the plugin code, my solution is next code :)

afterEvaluate {
    realBuildPex.setPexOptions(["--entry=tax.main"])
}