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

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

    Just to summarize the discussion in comments:

    Gradle added jcenter() shortcut in version 1.7. Any version prior to it will fail with this exception. You can still work with jcenter by adding it as a normal maven repo:

    repositories {
        maven {
            url "https://jcenter.bintray.com"
        }
        ....
    }
    

提交回复
热议问题