📜  wget gradle task - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:07.585000             🧑  作者: Mango

代码示例1
plugins {
    id "de.undercouch.download" version "1.2"
}

apply plugin: 'java'
apply plugin: 'de.undercouch.download'

import de.undercouch.gradle.tasks.download.Download

task downloadFile(type: Download) {
    src 'http://localhost:8081/example/test-jar-test_1.jar'
    dest 'localDir'
}