任意のリポジトリのJARをGradle で実行するコンパイルで指定

Git-Hub に置いた maven リポジトリの場合を参考に、、

build.gradle

repositories {
    mavebCentral()
    maven { url 'https://github.com/yipuran/yipuran-core/mvn-repo'  }
}

dependencied {
    testCompile group: 'junit' , name: 'junit' , '4.12'
    compile 'org.yipuran.core:yipuran-core:4.8'
}