Skip to content

Instantly share code, notes, and snippets.

@jeffmaury
Created December 7, 2018 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeffmaury/b49217c8214db9b2ca49f6adc5e3f677 to your computer and use it in GitHub Desktop.
Save jeffmaury/b49217c8214db9b2ca49f6adc5e3f677 to your computer and use it in GitHub Desktop.
plugins {
id "org.jetbrains.intellij" version "0.3.12"
id 'de.undercouch.download' version '3.4.3'
}
repositories {
mavenCentral()
flatDir {
dirs buildDir
}
}
apply plugin: 'idea'
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'
apply plugin: 'jacoco'
intellij {
version 'IC-2018.2.5' //for a full list of IntelliJ IDEA releases please see https://www.jetbrains.com/intellij-repository/releases
pluginName 'org.jboss.tools.intellij.analytics'
plugins 'com.github.gtache.lsp:1.4.0'
}
task downloadFile(type: Download) {
src 'http://download.jboss.org/jbosstools/photon/snapshots/builds/jbosstools-fabric8analytics-lsp-server_master/latest/ca-lsp-server-0.0.6-SNAPSHOT.zip'
dest buildDir
}
buildPlugin {
dependsOn downloadFile
}
dependencies {
compile name: 'ca-lsp-server-0.0.6-SNAPSHOT', ext:'zip'
}
group 'org.jboss.tools.intellij'
version '0.0.1-SNAPSHOT' // Plugin version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment