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

后端 未结 8 608
温柔的废话
温柔的废话 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 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

提交回复
热议问题