forked from magento/magento2-phpstorm-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
44 lines (37 loc) · 1.1 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
plugins {
id 'org.jetbrains.intellij' version '0.4.15'
}
group 'com.magento.idea'
version '1.0.0'
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'
apply plugin: 'groovy'
def phpPluginVersion = System.getProperty("phpPluginVersion", "193.6494.35")
def ideaVersion = System.getProperty("ideaVersion", "2019.3.3")
def javaVersion = 1.8
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
intellij {
version ideaVersion
type 'IU'
pluginName 'com.magento.idea.magento2plugin'
plugins = ["com.jetbrains.php:$phpPluginVersion", 'yaml', 'java-i18n', 'properties', 'CSS', 'JavaScriptLanguage', 'com.intellij.lang.jsgraphql:2.3.0']
updateSinceUntilBuild false
sameSinceUntilBuild false
downloadSources !Boolean.valueOf(System.getenv('CI'))
sandboxDirectory "${project.rootDir}/.idea-sandbox"
}
sourceSets {
main {
java.srcDirs 'src'
resources.srcDir 'resources'
}
test {
java.srcDir 'tests'
resources.srcDir 'testData'
}
}