|
4 | 4 | */ |
5 | 5 |
|
6 | 6 | plugins { |
7 | | - id 'org.jetbrains.intellij' version '0.7.2' |
| 7 | + id 'org.jetbrains.intellij' version '1.1.4' |
8 | 8 | id 'checkstyle' |
9 | 9 | id 'pmd' |
10 | | - id 'org.jetbrains.changelog' version '0.6.2' |
| 10 | + id 'org.jetbrains.changelog' version '1.2.1' |
11 | 11 | } |
12 | 12 |
|
13 | 13 | repositories { |
14 | 14 | mavenCentral() |
15 | 15 | } |
16 | 16 |
|
17 | 17 | group 'com.magento.idea' |
18 | | -version '4.0.0' |
| 18 | +version '4.1.0' |
19 | 19 |
|
20 | 20 | apply plugin: 'org.jetbrains.intellij' |
21 | 21 | apply plugin: 'java' |
22 | 22 | apply plugin: 'idea' |
23 | 23 | apply plugin: 'groovy' |
24 | 24 | apply plugin: 'org.jetbrains.changelog' |
25 | 25 |
|
26 | | -def phpPluginVersion = System.getProperty("phpPluginVersion", "211.6693.111") |
27 | | -def ideaVersion = System.getProperty("ideaVersion", "2021.1") |
| 26 | +def phpPluginVersion = System.getProperty("phpPluginVersion", "212.5080.71") |
| 27 | +def ideaVersion = System.getProperty("ideaVersion", "2021.2.1") |
28 | 28 | def javaVersion = 11 |
29 | 29 |
|
30 | 30 | sourceCompatibility = javaVersion |
31 | 31 | targetCompatibility = javaVersion |
32 | 32 |
|
33 | 33 | intellij { |
34 | | - version ideaVersion |
35 | | - type 'IU' |
36 | | - pluginName 'com.magento.idea.magento2plugin' |
| 34 | + version = ideaVersion |
| 35 | + type = 'IU' |
| 36 | + pluginName = 'com.magento.idea.magento2plugin' |
37 | 37 | plugins = [ |
38 | 38 | "com.jetbrains.php:$phpPluginVersion", |
39 | 39 | 'yaml', |
40 | 40 | 'java-i18n', |
41 | 41 | 'properties', |
42 | 42 | 'CSS', |
43 | 43 | 'JavaScriptLanguage', |
44 | | - 'com.intellij.lang.jsgraphql:2.9.1', |
| 44 | + 'com.intellij.lang.jsgraphql:3.0.0', |
45 | 45 | 'platform-images', |
46 | 46 | 'copyright' |
47 | 47 | ] |
48 | | - updateSinceUntilBuild false |
49 | | - sameSinceUntilBuild false |
50 | | - downloadSources !Boolean.valueOf(System.getenv('CI')) |
51 | | - sandboxDirectory "${project.rootDir}/.idea-sandbox" |
| 48 | + updateSinceUntilBuild = false |
| 49 | + sameSinceUntilBuild = false |
| 50 | + downloadSources = !Boolean.valueOf(System.getenv('CI')) |
| 51 | + sandboxDir = "${project.rootDir}/.idea-sandbox" |
52 | 52 |
|
53 | 53 | patchPluginXml { |
54 | | - changeNotes({ changelog.getLatest().toHTML() }) |
| 54 | + changeNotes = provider { changelog.getLatest().toHTML() } |
55 | 55 | } |
56 | 56 | } |
57 | 57 |
|
@@ -85,7 +85,7 @@ apply from: "${project.rootDir}/gradle-tasks/staticChecks.gradle" |
85 | 85 | changelog { |
86 | 86 | version = "${project.version}" |
87 | 87 | path = "${project.projectDir}/CHANGELOG.md" |
88 | | - header = { "[${project.version}] - ${getDate()}" } |
| 88 | + header = provider { "[${project.version}] - ${getDate()}" } |
89 | 89 | headerParserRegex = ~/(\d+\.)?(\d+\.)?(\*|\d+)/ |
90 | 90 | itemPrefix = "-" |
91 | 91 | keepUnreleasedSection = true |
|
0 commit comments