Skip to content

Commit ec0395f

Browse files
author
Alan Christie
committed
- Gradle task now defines PYTHONPATH
1 parent 82ba753 commit ec0395f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ task runPipelineTester(type: Exec) {
2727
} else {
2828
args = ''
2929
}
30+
def currentDir = System.getProperty("user.dir")
3031

32+
environment PYTHONPATH: "${currentDir}/src/python"
3133
workingDir 'src/groovy'
3234
commandLine 'groovy', 'PipelineTester.groovy', "$args"
3335

0 commit comments

Comments
 (0)