summaryrefslogtreecommitdiff
path: root/packages/idea-iu/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'packages/idea-iu/build.gradle')
-rw-r--r--packages/idea-iu/build.gradle25
1 files changed, 0 insertions, 25 deletions
diff --git a/packages/idea-iu/build.gradle b/packages/idea-iu/build.gradle
deleted file mode 100644
index 54126f7..0000000
--- a/packages/idea-iu/build.gradle
+++ /dev/null
@@ -1,25 +0,0 @@
-import org.xapek.yvesf.gradle.DownloadTask
-
-subprojects {
- task download(type: DownloadTask) {}
-
- task untar(type: Copy) {
- 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"
-
- project.afterEvaluate {
- download.source "https://download.jetbrains.com/idea/ideaIU-${project.version}.tar.gz"
- untar.from tarTree(download.destFile)
- }
-}