@@ -30,32 +30,64 @@ sourceCompatibility = 1.8
30
30
targetCompatibility = 1.8
31
31
32
32
apply plugin : ' org.jetbrains.intellij'
33
- intellij {
34
- version ideaVersion
35
- updateSinceUntilBuild false
36
- plugins = [
37
- " com.jetbrains.php:${ phpPluginVersion} " ,
38
- " com.jetbrains.twig:${ twigPluginVersion} " ,
39
- " com.jetbrains.php.dql:${ dqlPluginVersion} " ,
40
- " de.espend.idea.php.annotation:${ annotationPluginVersion} " ,
41
- " de.espend.idea.php.toolbox:${ toolboxPluginVersion} " ,
42
- ' coverage' ,
43
- ' webDeployment' ,
44
- ' yaml' ,
45
- ' CSS' ,
46
- ' java-i18n' ,
47
- ' properties' ,
48
- ' xpath'
49
- ]
50
- pluginName ' Symfony Support'
51
-
52
- // Can't instantiate configurable for PHP Toolbox
53
- // at de.espend.idea.php.toolbox.ui.application.ToolboxApplicationForm.<init>(ToolboxApplicationForm.java:26)
54
- tasks {
55
- " buildSearchableOptions" {
56
- enabled = false
33
+
34
+ if (ideaVersion == " IU-2019.1.3" ) {
35
+ intellij {
36
+ version ideaVersion
37
+ updateSinceUntilBuild false
38
+ plugins = [
39
+ " com.jetbrains.php:${ phpPluginVersion} " ,
40
+ " com.jetbrains.twig:${ twigPluginVersion} " ,
41
+ " com.jetbrains.php.dql:${ dqlPluginVersion} " ,
42
+ " de.espend.idea.php.annotation:${ annotationPluginVersion} " ,
43
+ " de.espend.idea.php.toolbox:${ toolboxPluginVersion} " ,
44
+ ' coverage' ,
45
+ ' webDeployment' ,
46
+ ' yaml' ,
47
+ ' CSS' ,
48
+ ' java-i18n' ,
49
+ ' properties' ,
50
+ ' xpath'
51
+ ]
52
+ pluginName ' Symfony Support'
53
+
54
+ // Can't instantiate configurable for PHP Toolbox
55
+ // at de.espend.idea.php.toolbox.ui.application.ToolboxApplicationForm.<init>(ToolboxApplicationForm.java:26)
56
+ tasks {
57
+ " buildSearchableOptions" {
58
+ enabled = false
59
+ }
57
60
}
58
- }
61
+ }
62
+ } else {
63
+ intellij {
64
+ version ideaVersion
65
+ updateSinceUntilBuild false
66
+ plugins = [
67
+ " com.jetbrains.php:${ phpPluginVersion} " ,
68
+ " com.jetbrains.twig:${ twigPluginVersion} " ,
69
+ " com.jetbrains.php.dql:${ dqlPluginVersion} " ,
70
+ " de.espend.idea.php.annotation:${ annotationPluginVersion} " ,
71
+ " de.espend.idea.php.toolbox:${ toolboxPluginVersion} " ,
72
+ ' coverage' ,
73
+ ' webDeployment' ,
74
+ ' yaml' ,
75
+ ' CSS' ,
76
+ ' java-i18n' ,
77
+ ' properties' ,
78
+ ' xpath' ,
79
+ ' java'
80
+ ]
81
+ pluginName ' Symfony Support'
82
+
83
+ // Can't instantiate configurable for PHP Toolbox
84
+ // at de.espend.idea.php.toolbox.ui.application.ToolboxApplicationForm.<init>(ToolboxApplicationForm.java:26)
85
+ tasks {
86
+ " buildSearchableOptions" {
87
+ enabled = false
88
+ }
89
+ }
90
+ }
59
91
}
60
92
61
93
patchPluginXml {
0 commit comments