Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin does not work with gradle 6.3 #55

Open
christoph-schnier opened this issue Apr 17, 2020 · 1 comment
Open

Plugin does not work with gradle 6.3 #55

christoph-schnier opened this issue Apr 17, 2020 · 1 comment

Comments

@christoph-schnier
Copy link

Hi,
I'm using the plugin and as long as I'm using gradle < version 6 the plugin works fine.
Switching the gradle wrapper to version 6.3 causes the following error:

could not resolve all files for configuration ':xxx:minicondaInstaller'.
could not find niniconda:Miniconda3:4.5.12.
Required by:
project: :xxx

the configuration in build.gradle looks like this:

plugins {
id 'com.palantir.python.miniconda' version '0.8.0'
id "net.foragerr.jmeter" version "1.1.0-4.0"
}

apply plugin: 'base'

miniconda {
minicondaVersion = '4.5.12'
pythonVersion = 3
packages = ['pandas', 'matplotlib']
}

@kruton
Copy link

kruton commented Aug 20, 2020

It looks like Gradle 6 has a behavior change where it won't look for the artifact if the metadata file is missing. You can work around this by adding this to your build.gradle:

repositories {
  ivy {
    url "https://repo.continuum.io"
    patternLayout {
      artifact "[organisation]/[module]-[revision]-[classifier].[ext]"
    }
    metadataSources {
      artifact()
    }
  }
}

...but, you still fall afoul of this other change: The bridge method org.gradle.api.tasks.TaskInputs.property(String name, @Nullable Object value) returning TaskInputs has been removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants