Could not find method jcenter() for arguments [] on repository container

后端 未结 8 560
温柔的废话
温柔的废话 2020-12-17 07:54

I\'m new to Gradle and bintray. I want to publish this project so it is readily available to Maven and SBT users. I am not the original author of this package; it appears to

相关标签:
8条回答
  • 2020-12-17 08:24

    I got this in an Android project, needed to upgrade Gradle to 4.1 in gradle-wrapper.properties.

    0 讨论(0)
  • 2020-12-17 08:24

    I ran into the same error. The following method (as described here) worked for me.

    Add a task

    task wrapper(type: Wrapper) {
        gradleVersion = '2.0'
    }
    

    and run it once. Afterwards, start using gradlew instead of gradle

    0 讨论(0)
提交回复
热议问题