Plugin with id ‘maven‘ not found或者Plugin [id: ‘maven‘] was not found in any of the following sources
一.问题发生背景androidstudio是Arctic Fox版本,gradle插件版本是7.0,JDK11。上传aar到maven库时发生。二.解决方案1.apply plugin: 'maven' 改成: apply plugin: 'maven-publish'2.afterEvaluate { publishing { publications { release(MavenPublication) { .
原创
2021-08-18 14:12:37 ·
12863 阅读 ·
3 评论