Gradle nexus配置

1.下载Gradle;

2.添加脚本init.gradle到gradle的init.d目录中;

ext {
    nexus = 'http://192.168.184.6:8081/nexus'
    username = 'Dev'
    password = '123456'
}

allprojects {
    repositories {
        maven {
            url "${nexus}/content/groups/public/"
        }
    }
}

3.配置eclipse:

4.新建gradle项目即可;

猜你喜欢

转载自www.cnblogs.com/dingyingsi/p/9340651.html