Closed vikramkone closed 8 years ago
@vikramkone This build script doesn't look valid because the plugin application is happening before the buildscript, but let's assume you put it after the buildscript.
Did you add a miniconda
block?
I had the same problem which was resolved when I added a block like this
miniconda {
bootstrapDirectoryPrefix = new File(System.getProperty('user.home'), '.miniconda')
buildEnvironmentDirectory = new File(buildDir, 'python')
minicondaVersion = '3.10.1'
packages = ['python-notebook']
}
It looks like what this question is actually asking for is one of two things:
setupPython
and other Miniconda tasks from happening unless the miniconda
block exists.I'm much more willing to do the first solution since the second one leads to confusion about why adding the plugin doesn't work
Fixed by #27
Getting this error when I do gradle build
This is my build script