无法找到方法
org.gradle.api.publish.maven.internal.publication.MavenPublicationInternal.getPublishableFiles()Lorg/gradle/api/file/FileCollection;'.
Possible causes for this unexpected error include:
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
重新下载依赖项并同步项目(需要网络)
Gradle构建过程(守护程序)的状态可能已损坏。停止所有Gradle守护程序可以解决此问题。 停止Gradle构建过程(需要重新启动)
您的项目可能使用的第三方插件与项目中的其他插件或项目要求的Gradle版本不兼容。
在Gradle进程损坏的情况下,您也可以尝试关闭IDE,然后杀死所有Java进程。