Gradle 设置本地maven

    repositories {

        maven { url uri("F:\\meaven")}
      }

发布到本地maven 仓库:


apply plugin: 'maven'

uploadArchives {
    configuration = configurations.archives
    repositories {
        mavenDeployer {
            repository(url: uri('file:/F:/meaven'))
            pom.project {
                version '2.0.1.1031'
                artifactId 'argus-apm-gradle'
                groupId GROUP_ID
                packaging TYPE
                description DESCRIPTION
            }
        }
    }
}

你可能感兴趣的:(Android)