Try explicitly installing Pipenv
@@ -28,13 +28,11 @@ compileTestKotlin {
jvmTarget = "1.8"
}
}
-
task writeSnippets(type:Exec) {
commandLine 'python', 'bin/snippet_writer.py'
}
-task prepareKeanuPipenv {
- dependsOn(":keanu-python:build")
+task installDependencies {
doLast {
exec {
workingDir("src/test/python/")
@@ -43,6 +41,12 @@ task prepareKeanuPipenv {
}
}
+task prepareKeanuPipenv {
+ dependsOn(":keanu-python:installPipenv")
+ dependsOn(":keanu-python:build")
+ dependsOn(installDependencies)
+}
+
task runPythonSnippets {
dependsOn(prepareKeanuPipenv)
doLast {
