blob: 74c51d88d4397dddf6496bd0bf62d8ad6f6fc80b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import org.xapek.yvesf.gradle.DownloadTask
version '14.1.5'
task download(type: DownloadTask) {
source "https://download.jetbrains.com/idea/ideaIU-${project.version}.tar.gz"
sha256sum '1a7a07871e31f8628e17be2b066665a596e758f8'
}
task untar(type: Copy) {
from tarTree(download.destFile)
into file("${buildDir}/unpacked/dist")
}
untar.dependsOn(download)
ospackage {
into "/opt/${project.name}"
from untar.outputs.files
}
|