Could not find method jcenter() for arguments [] on repository container
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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 have been abandoned ; I just want to publish the current HEAD. ~/.gradle/gradle.properties is something like: bintrayUser=mslinn bintrayKey=blahblah build.gradle looks like this.: buildscript { repositories { jcenter() } dependencies { classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0' } } apply plugin: 'com.jfrog.bintray' allprojects { apply plugin: 'idea'