Skip to content

Instantly share code, notes, and snippets.

@thomas15v
Created July 27, 2017 14:02
Show Gist options
  • Save thomas15v/716ea57261855bf61d8b6131be419c26 to your computer and use it in GitHub Desktop.
Save thomas15v/716ea57261855bf61d8b6131be419c26 to your computer and use it in GitHub Desktop.
plugins {
id "org.jetbrains.intellij" version "0.2.15"
id "maven"
id "de.undercouch.download" version "3.2.0"
}
task setupPycharm() {
if (!new File('.gradle/ide').exists()){
download {
src 'https://download.jetbrains.com/python/pycharm-professional-2017.2.tar.gz'
dest '.gradle/downloads/py.tar.gz'
}
copy {
from tarTree(resources.gzip('.gradle/downloads/py.tar.gz'))
into '.gradle/ide'
}
}
}
runIde.dependsOn(setupPycharm)
intellij {
alternativeIdePath '.gradle/ide/pycharm-2017.2'
plugins 'coverage' //Bundled plugin dependencies
pluginName 'Odoo Support'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment