diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2016-12-16 21:14:55 +0100 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2016-12-16 21:15:21 +0100 |
commit | b13d27cbe42cdf6d6f3861bbb6914b9e41fc83fa (patch) | |
tree | dc9c2c92da35c4f4ad2409959ccf35851d3d8059 /packages/idea/idea.gradle | |
parent | 4869059a49e8dd59bec3fbdc6d0ff48bcd7e5501 (diff) | |
download | debian-packages-b13d27cbe42cdf6d6f3861bbb6914b9e41fc83fa.tar.gz debian-packages-b13d27cbe42cdf6d6f3861bbb6914b9e41fc83fa.zip |
update IDEA and add community edition
Diffstat (limited to 'packages/idea/idea.gradle')
-rw-r--r-- | packages/idea/idea.gradle | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/idea/idea.gradle b/packages/idea/idea.gradle new file mode 100644 index 0000000..645c92e --- /dev/null +++ b/packages/idea/idea.gradle @@ -0,0 +1,19 @@ +final download = makeDownloadTask( + url: "https://download.jetbrains.com/idea/$filename", + sha256: sha256sum) + +task untar(type: Copy) { + from tarTree(download.dest) + into file("${buildDir}/unpacked/dist") + eachFile { FileCopyDetails fcd -> + fcd.path = fcd.path.substring(path.indexOf('/')+1) + } +} +untar.dependsOn(download) + +ospackage { + into "/opt/${project.name}" + from untar.outputs.files +} + +activator.bin['idea'] = "/opt/${project.name}/bin/idea.sh" |