summaryrefslogtreecommitdiff
path: root/packages/idea-iu
diff options
context:
space:
mode:
Diffstat (limited to 'packages/idea-iu')
-rw-r--r--packages/idea-iu/idea-iu.gradle20
-rw-r--r--packages/idea-iu/idea-iu15/build.gradle4
-rw-r--r--packages/idea-iu/idea-iu2016/build.gradle6
3 files changed, 7 insertions, 23 deletions
diff --git a/packages/idea-iu/idea-iu.gradle b/packages/idea-iu/idea-iu.gradle
index 5afd834..e38fd41 100644
--- a/packages/idea-iu/idea-iu.gradle
+++ b/packages/idea-iu/idea-iu.gradle
@@ -1,16 +1,9 @@
-buildscript {
- repositories {
- mavenLocal()
- mavenCentral()
- }
- dependencies {
- classpath 'org.xapek.yvesf:gradle-download-task:0.1-SNAPSHOT'
- }
-}
-
-task download(type: org.xapek.yvesf.gradle.DownloadTask) {}
+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)
@@ -24,8 +17,3 @@ ospackage {
}
activator.bin['idea'] = "/opt/${project.name}/bin/idea.sh"
-
-project.afterEvaluate {
- download.source "https://download.jetbrains.com/idea/ideaIU-${project.version}.tar.gz"
- untar.from tarTree(download.destFile)
-}
diff --git a/packages/idea-iu/idea-iu15/build.gradle b/packages/idea-iu/idea-iu15/build.gradle
index 0159163..dabab4d 100644
--- a/packages/idea-iu/idea-iu15/build.gradle
+++ b/packages/idea-iu/idea-iu15/build.gradle
@@ -1,5 +1,3 @@
version '15.0.6'
-
+ext.sha256sum = '941a9e0d250c1e21ef2e2beb818cdbdba0acf38e69b74546275d028bc5554a04'
apply from: '../idea-iu.gradle'
-
-download.sha256sum '941a9e0d250c1e21ef2e2beb818cdbdba0acf38e69b74546275d028bc5554a04'
diff --git a/packages/idea-iu/idea-iu2016/build.gradle b/packages/idea-iu/idea-iu2016/build.gradle
index d4c4414..1cbfea7 100644
--- a/packages/idea-iu/idea-iu2016/build.gradle
+++ b/packages/idea-iu/idea-iu2016/build.gradle
@@ -1,5 +1,3 @@
-version '2016.1.2b'
-
+version '2016.2.5'
+ext.sha256sum = '30a4ddf82b8393fc22803c9335d6cb00087116dd09915e44f40f0433b81b1b3d'
apply from: '../idea-iu.gradle'
-
-download.sha256sum '033b6f2c13ca954024808a84c8a33ebb15a5548720dedf1dbaebaa97ea93f1e9'