mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
Fix for gradle until-build default value
This commit is contained in:
parent
1dfe7a5eb3
commit
98fcf2d4ef
@ -1,32 +1,36 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'java'
|
id 'java'
|
||||||
id 'org.jetbrains.intellij' version '0.4.7'
|
id 'org.jetbrains.intellij' version '0.4.7'
|
||||||
}
|
}
|
||||||
|
|
||||||
group 'org.intellij.sdk'
|
project.version '2.0.0'
|
||||||
version '2.0.0'
|
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testCompile group: 'junit', name: 'junit', version: '4.12'
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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
|
||||||
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")
|
||||||
}
|
}
|
||||||
|
|
||||||
patchPluginXml {
|
patchPluginXml {
|
||||||
|
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
|
// Define javadoc paths, force rebuild before jar is built
|
||||||
javadoc {
|
javadoc {
|
||||||
// Set of source files to include
|
|
||||||
source = sourceSets.main.java.srcDirs
|
|
||||||
// Include all class files, e.g. from libraries
|
// Include all class files, e.g. from libraries
|
||||||
classpath = sourceSets.main.compileClasspath
|
classpath = sourceSets.main.compileClasspath
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,11 @@
|
|||||||
<name>SDK Action Sample Project</name>
|
<name>SDK Action Sample Project</name>
|
||||||
|
|
||||||
<!-- The version of this plugin -->
|
<!-- The version of this plugin -->
|
||||||
<version>2.0.0</version>
|
<!-- <version>Replaced by patchPluginXml.version in build.gradle</version>-->
|
||||||
|
|
||||||
<!-- Compatible with the following versions of IntelliJ Platform -->
|
<!-- Compatible with the following versions of IntelliJ Platform -->
|
||||||
<idea-version since-build="173"/>
|
<!-- The <idea-version> attributes are updated by intellij.updateSinceUntilBuild,
|
||||||
|
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>
|
||||||
@ -30,7 +31,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="sdk-example@jetbrains.com" url="https://plugins.jetbrains.com">IntelliJ Platform SDK</vendor>
|
<vendor email="faux-email@jetbrains.com" 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