Name: gradle-intellij-plugin
Owner: Crashlytics, Inc.
Description: Plugin for building plugins for IntelliJ IDEs
Created: 2015-10-27 19:42:38.0
Updated: 2015-10-27 19:42:39.0
Pushed: 2015-10-29 20:20:18.0
Homepage: null
Size: 357
Language: Groovy
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This plugin allows you to build plugins for IntelliJ platform using specific IntelliJ SDK and bundled plugins.
The plugin adds extra IntelliJ-specific dependencies, patches compile tasks in order to instrument code with nullability assertions and forms classes made with IntelliJ GUI Designer and provides some build steps which might be helpful while developing plugins for IntelliJ platform.
ins {
"org.jetbrains.intellij" version "0.0.25"
y plugin: 'org.jetbrains.intellij'
dscript {
positories {
maven {
url "https://plugins.gradle.org/m2/"
}
pendencies {
classpath group: 'org.jetbrains', name: 'gradle-intellij-plugin', version: '0.0.25'
y plugin: 'org.jetbrains.intellij'
Plugin provides following options to configure target IntelliJ SDK and build archive
intellij.version
defines the version of IDEA distribution that should be used as a dependency.
The option accepts build numbers, version numbers and two meta values LATEST-EAP-SNAPSHOT
, LATEST-TRUNK-SNAPSHOT
.
Default value: LATEST-EAP-SNAPSHOT
intellij.plugins
defines the list of bundled IDEA plugins that should be used as dependencies.
Default value: <empty>
intellij.pluginName
is used for naming target zip-archive and defines the name of plugin artifact.
of bundled IDEA plugins that should be used as dependencies.
Default value: $project.name
intellij.sandboxDirectory
defines path of sandbox directory that is used for running IDEA with developing plugin.
Default value: $project.buildDir/idea-sandbox
intellij.instrumentCode
defines whether plugin should instrument java classes with nullability assertions.
Also it might be required for compiling forms created by IntelliJ GUI designer.
Default value: true
intellij.updateSinceUntilBuild
defines whether plugin should patch plugin.xml
with since and until build values,
if true then IntelliJIDEABuildNumber
will be used as a since
value and IntelliJIDEABranch.9999
will be used as until value.
Default value: true
intellij.downloadSources
defines whether plugin should download IntelliJ sources while
initializing gradle build. Since sources are not really needed while testing on CI you can set
it to false
for particular environment.
Default value: true
intellij.publish.pluginId
defines plugin id at JetBrains plugin repository, you can find it in url of you plugin page there.intellij.publish.username
your login at JetBrains plugin repository.intellij.publish.password
your password at JetBrains plugin repository.intellij.publish.channgel
defines channel to upload, you may use any string here, empty string means default channel.
<empty>
Plugin introduces following build steps
patchPluginXml
sets project version and since/until build numbers in output plugin.xml fileprepareSandbox
creates proper structure of plugin and fills sandbox directory with itbuildPlugin
assembles plugin and prepares zip archive for deploymentrunIdea
executes IntelliJ IDEA instance with installed the plugin you're developingpublishPlugin
uploads plugin distribution archive to http://plugins.jetbrains.comins {
"org.jetbrains.intellij" version "0.0.25"
y plugin: 'org.jetbrains.intellij'
llij {
rsion '14.1.4'
ugins 'coverage'
uginName 'MyPlugin'
blish {
username 'zolotov'
password 'password'
pluginId '5047'
channel 'nightly'
This plugin is available under the Apache License, Version 2.0.