diff options
Diffstat (limited to 'packages/idea')
-rw-r--r-- | packages/idea/idea-ic2016-no-jdk/build.gradle | 4 | ||||
-rw-r--r-- | packages/idea/idea-iu15/build.gradle | 4 | ||||
-rw-r--r-- | packages/idea/idea-iu2016-no-jdk/build.gradle | 4 | ||||
-rw-r--r-- | packages/idea/idea.gradle | 19 |
4 files changed, 31 insertions, 0 deletions
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" |