mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
Complete guide page
This commit is contained in:
parent
65708736d0
commit
864a45c579
@ -3,7 +3,6 @@ plugins {
|
|||||||
id 'org.jetbrains.intellij' version '0.4.7'
|
id 'org.jetbrains.intellij' version '0.4.7'
|
||||||
}
|
}
|
||||||
|
|
||||||
project.version '2.0.0'
|
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@ -16,22 +15,16 @@ dependencies {
|
|||||||
|
|
||||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||||
intellij {
|
intellij {
|
||||||
|
|
||||||
// Define IntelliJ Platform API version to use for building this plugin
|
// Define IntelliJ Platform API version to use for building this plugin
|
||||||
version '2019.1'
|
version '2019.1'
|
||||||
// Define a communal sandbox directory for running code sample plugins within an IDE.
|
|
||||||
sandboxDirectory = file("${project.projectDir}/../Build/idea-sandbox")
|
// Prevents patching <idea-version> attributes in plugin.xml
|
||||||
|
updateSinceUntilBuild = false
|
||||||
|
// Define a shared sandbox directory for running code sample plugins within an IDE.
|
||||||
|
sandboxDirectory = file("${project.projectDir}/../_idea-sandbox")
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
patchPluginXml {
|
// Force javadoc rebuild before jar is built
|
||||||
version = project.version // <version> tag value
|
|
||||||
// Fix limited until-build default value.
|
|
||||||
sinceBuild = '191' // <idea-version> tag since-build attribute
|
|
||||||
untilBuild = '201.*' // <idea-version> tag until-build attribute - until v2020.1
|
|
||||||
}
|
|
||||||
|
|
||||||
// Define javadoc paths, force rebuild before jar is built
|
|
||||||
javadoc {
|
|
||||||
// Include all class files, e.g. from libraries
|
|
||||||
classpath = sourceSets.main.compileClasspath
|
|
||||||
}
|
|
||||||
jar.dependsOn javadoc
|
jar.dependsOn javadoc
|
@ -8,11 +8,10 @@
|
|||||||
<name>SDK Action Sample Project</name>
|
<name>SDK Action Sample Project</name>
|
||||||
|
|
||||||
<!-- The version of this plugin -->
|
<!-- The version of this plugin -->
|
||||||
<!-- <version>Replaced by patchPluginXml.version in build.gradle</version>-->
|
<version>2.0.0</version>
|
||||||
|
|
||||||
<!-- Compatible with the following versions of IntelliJ Platform -->
|
<!-- Compatible with the following versions of IntelliJ Platform -->
|
||||||
<!-- The <idea-version> attributes are updated by intellij.updateSinceUntilBuild,
|
<idea-version since-build="183" until-build=""/>
|
||||||
patchPluginXml.sinceBuild and patchPlugin.untilBuild in build.gradle -->
|
|
||||||
|
|
||||||
<!-- Text to display as description on Preferences/Settings | Plugin page -->
|
<!-- Text to display as description on Preferences/Settings | Plugin page -->
|
||||||
<description>
|
<description>
|
||||||
@ -31,7 +30,7 @@
|
|||||||
</change-notes>
|
</change-notes>
|
||||||
|
|
||||||
<!-- Text to display as company information on Preferences/Settings | Plugin page -->
|
<!-- Text to display as company information on Preferences/Settings | Plugin page -->
|
||||||
<vendor email="faux-email@jetbrains.com" url="https://plugins.jetbrains.com">IntelliJ Platform SDK</vendor>
|
<vendor url="https://plugins.jetbrains.com">IntelliJ Platform SDK</vendor>
|
||||||
|
|
||||||
<actions>
|
<actions>
|
||||||
<!-- The <action> element defines an action to register.
|
<!-- The <action> element defines an action to register.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user