Gradle sync failed: No such property: GROUP for class: org.gradle.api.publication.maven.internal.deployer.DefaultGroovyMavenDeployer

as 导入module 编译报错:

17:26:25 Gradle sync started

17:26:28 Gradle sync failed: No such property: GROUP for class: org.gradle.api.publication.maven.internal.deployer.DefaultGroovyMavenDeployer
         Consult IDE log for more details (Help | Show Log)

在导入的模块的build.gradle中将下面这行代码注释掉即可

//apply from: 'https://raw.github.com/chrisbanes/gradle-mvn-push/master/gradle-mvn-push.gradle'
//apply from: './mvn-push.gradle'
    原文作者:Mr_不靠谱_先森
    原文地址: https://www.jianshu.com/p/d2fc7a4d1f97
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞