android jitpack maven管理

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/cao126197103/article/details/90142059

根gradle

dependencies {
        classpath 'com.android.tools.build:gradle:3.3.1'
        //maven 插件
        classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }

library gradle

apply plugin: 'com.github.dcendents.android-maven'
group='com.github.caoyangfei'

多个library会生成

点击跳转使用
使用方式
注:在使用中发现如果代码没更改,升级版本后,使用时还会下载下来旧版本。(可能理解有误)

猜你喜欢

转载自blog.csdn.net/cao126197103/article/details/90142059