问题解决-Plugin with id 'com.github.dcendents.android-maven' not found

摘要:
问题是找不到插件方法:添加全局依赖关系{classpath‘com.android.tools.build:gradle:23.0'//声明gradle插件,2.3.0是插件版本号classpath‘com.ibm.neenbedankt.gradle.plugins:androidopt:1.8'//1.自动打包插件cl

问题是:未找到插件

问题解决-Plugin with id 'com.github.dcendents.android-maven' not found第1张

方法是:

在project的build.gradle中添加全局依赖

dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'//声明gradle插件,2.3.0为插件版本号
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
//1.自动化maven打包插件
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
//2.自动上传至Bintray平台插件
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'


// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}

免责声明:文章转载自《问题解决-Plugin with id 'com.github.dcendents.android-maven' not found》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇记一次linux 内存异常的处理回溯法之n皇后问题下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

关于Gradle配置的小结

前言 使用 Android Studio 来开发 Android 工程的过程中,接触 Gradle 是不可避免的,比如配置签名、引入依赖等。那么 Gradle 到底是什么东西呢? Gradle 是一个基于 Apache Ant 和 Apache Maven 概念的项目自动化建构工具。它使用一种基于 Groovy 的特定领域语言 (DSL) 来声明项目...

彻底理解Gradle的任务

这是从我个人博客中复制过来的,没有重新进行排版,为了更好的阅读效果大家可以去我网站上阅读,地址:http://coolshell.info/blog/2015/07/gradle-tasks-guide.html,转载请注明出处 在Gradle的build文件中,任务是构建活动最基本的单元,它是许多构建指令的集合,下面我将仔细介绍Gradle任务的细节。...

Android Studio Gradle Build Running 特别慢的问题探讨

本文的本本win7 64bit 6G android studio2.1 在运行程序的时候Gradle Build Running 特别慢,一个helloworld都快2min了 1、开启gradle单独的守护进程 在下面的目录下面创建gradle.properties文件: /home/<username>/.gradle/ (Linux...

Gradle配置最佳实践

https://blog.csdn.net/devilnov/article/details/53321164 本文会不定期更新,推荐watch下项目。如果喜欢请star,如果觉得有纰漏请提交issue,如果你有更好的点子可以提交pull request。本文意在分享作者在实践中掌握的关于gradle的一些技巧。 本文固定连接:https://github...

spring-boot 2.5.4,nacos 作为配置、服务发现中心,Cloud Native Buildpacks 打包镜像,GitLab CI/CD

spring-boot 2.5.4,nacos 作为配置、服务发现中心,Cloud Native Buildpacks 打包镜像,GitLab CI/CD 本文主要介绍 Java 通过 Cloud Native Buildpacks 打包镜像,通过 Gitlab 配置 CI/CD。以及使用 nacos 作为配置中心,使用 grpc 作为 RPC 框架。 前...

Android Studio使用本地Gradle的配置

最近在家给学生们上网课发现,因为大家各家的网络环境不同,结果gradle sync 一直sync不完成了。 很多同学创建项目都不能成功。 想着试试给大家介绍一下如何使用本地Gradle来构建项目。 1、打开一个AndroidStudio项目,切换到Project视图下,查看gradle/wrapper/目录下的gradle-wrapper.properti...