blob: db8e14fba57bc2a77027a786a4a8e694481f3409 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
apply plugin: 'de.undercouch.download'
task updateDependencies {
def downloadDir = new File(project.rootDir, "lib/download")
downloadDir.mkdirs()
def intellijCoreZip = new File(downloadDir, "intellij-core.zip")
download {
src "https://s3-eu-west-1.amazonaws.com/intellij-releases/com/jetbrains/intellij/idea/intellij-core/" +
"$intellij_core_version/intellij-core-${intellij_core_version}.zip"
dest intellijCoreZip
onlyIfNewer true
}
copy {
from zipTree(intellijCoreZip)
into new File("lib/intellij-core")
}
}
|