From b13d27cbe42cdf6d6f3861bbb6914b9e41fc83fa Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Fri, 16 Dec 2016 21:14:55 +0100 Subject: update IDEA and add community edition --- packages/idea-iu/idea-iu.gradle | 19 ------------------- packages/idea-iu/idea-iu15/build.gradle | 3 --- packages/idea-iu/idea-iu2016/build.gradle | 3 --- packages/idea/idea-ic2016-no-jdk/build.gradle | 4 ++++ packages/idea/idea-iu15/build.gradle | 4 ++++ packages/idea/idea-iu2016-no-jdk/build.gradle | 4 ++++ packages/idea/idea.gradle | 19 +++++++++++++++++++ 7 files changed, 31 insertions(+), 25 deletions(-) delete mode 100644 packages/idea-iu/idea-iu.gradle delete mode 100644 packages/idea-iu/idea-iu15/build.gradle delete mode 100644 packages/idea-iu/idea-iu2016/build.gradle create mode 100644 packages/idea/idea-ic2016-no-jdk/build.gradle create mode 100644 packages/idea/idea-iu15/build.gradle create mode 100644 packages/idea/idea-iu2016-no-jdk/build.gradle create mode 100644 packages/idea/idea.gradle diff --git a/packages/idea-iu/idea-iu.gradle b/packages/idea-iu/idea-iu.gradle deleted file mode 100644 index e38fd41..0000000 --- a/packages/idea-iu/idea-iu.gradle +++ /dev/null @@ -1,19 +0,0 @@ -final download = makeDownloadTask( - url: "https://download.jetbrains.com/idea/ideaIU-${project.version}.tar.gz", - 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" diff --git a/packages/idea-iu/idea-iu15/build.gradle b/packages/idea-iu/idea-iu15/build.gradle deleted file mode 100644 index dabab4d..0000000 --- a/packages/idea-iu/idea-iu15/build.gradle +++ /dev/null @@ -1,3 +0,0 @@ -version '15.0.6' -ext.sha256sum = '941a9e0d250c1e21ef2e2beb818cdbdba0acf38e69b74546275d028bc5554a04' -apply from: '../idea-iu.gradle' diff --git a/packages/idea-iu/idea-iu2016/build.gradle b/packages/idea-iu/idea-iu2016/build.gradle deleted file mode 100644 index 1cbfea7..0000000 --- a/packages/idea-iu/idea-iu2016/build.gradle +++ /dev/null @@ -1,3 +0,0 @@ -version '2016.2.5' -ext.sha256sum = '30a4ddf82b8393fc22803c9335d6cb00087116dd09915e44f40f0433b81b1b3d' -apply from: '../idea-iu.gradle' diff --git a/packages/idea/idea-ic2016-no-jdk/build.gradle b/packages/idea/idea-ic2016-no-jdk/build.gradle new file mode 100644 index 0000000..0a95e38 --- /dev/null +++ b/packages/idea/idea-ic2016-no-jdk/build.gradle @@ -0,0 +1,4 @@ +version '2016.3.1' +ext.sha256sum = '077e0674a19f1b2d7e36257842cadd032587ded8076d1836f39bf41a09601978' +ext.filename = "ideaIC-${project.version}-no-jdk.tar.gz" +apply from: '../idea.gradle' diff --git a/packages/idea/idea-iu15/build.gradle b/packages/idea/idea-iu15/build.gradle new file mode 100644 index 0000000..d58acbe --- /dev/null +++ b/packages/idea/idea-iu15/build.gradle @@ -0,0 +1,4 @@ +version '15.0.6' +ext.sha256sum = '941a9e0d250c1e21ef2e2beb818cdbdba0acf38e69b74546275d028bc5554a04' +ext.filename = "ideaIU-${project.version}.tar.gz" +apply from: '../idea.gradle' diff --git a/packages/idea/idea-iu2016-no-jdk/build.gradle b/packages/idea/idea-iu2016-no-jdk/build.gradle new file mode 100644 index 0000000..865ca79 --- /dev/null +++ b/packages/idea/idea-iu2016-no-jdk/build.gradle @@ -0,0 +1,4 @@ +version '2016.3.1' +ext.sha256sum = 'c1bd7b0682007cdca30a3a6f1ff8c48bf0be8048ce6836f1e8d1ea4e0f623f72' +ext.filename = "ideaIU-${project.version}-no-jdk.tar.gz" +apply from: '../idea.gradle' 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" -- cgit v1.2.1