记一次Azkaban安装

2020-03-23  本文已影响0人  龙遨天

1.下载源码

git clone https://github.com/azkaban/azkaban.git

2.在国内更改为国内镜像,一定要注释掉mavenCentral()

改为:

repositories {

    //mavenCentral()

    maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }

    maven{ url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'}

  }

3.下载本地的gradle.zip包到本地路径下:

https://services.gradle.org/distributions/gradle-4.6-all.zip

cd . /gradle/wrapper

vim gradle-wrapper.properties 更改参数指定本地的包

distributionUrl=./gradle-4.6-all.zip

4.执行编译:

./gradlew installDist -x test

上一篇 下一篇

猜你喜欢

热点阅读