Skip to content

Commit 7d343af

Browse files
author
Vitaliy Boyko
committed
Added gradle
1 parent 2e38a37 commit 7d343af

File tree

5 files changed

+13
-31
lines changed

5 files changed

+13
-31
lines changed

build.gradle

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Copyright © Magento, Inc. All rights reserved.
3+
* See COPYING.txt for license details.
4+
*/
5+
16
plugins {
27
id 'org.jetbrains.intellij' version '0.4.15'
38
}
@@ -9,8 +14,8 @@ apply plugin: 'org.jetbrains.intellij'
914
apply plugin: 'java'
1015
apply plugin: 'groovy'
1116

12-
def phpPluginVersion = System.getProperty("phpPluginVersion", "193.6015.48")
13-
def ideaVersion = System.getProperty("ideaVersion", "2019.3.2")
17+
def phpPluginVersion = System.getProperty("phpPluginVersion", "193.6494.35")
18+
def ideaVersion = System.getProperty("ideaVersion", "2019.3.3")
1419
def javaVersion = 1.8
1520

1621
sourceCompatibility = javaVersion
@@ -27,8 +32,7 @@ intellij {
2732
sandboxDirectory "${project.rootDir}/.idea-sandbox"
2833
}
2934

30-
patchPluginXml {
31-
changeNotes """
32-
Fixed manual reindex
33-
"""
35+
sourceSets {
36+
main.java.srcDirs = ['src']
37+
main.resources.srcDirs = ['resources']
3438
}

magento2plugin.iml

-21
This file was deleted.

resources/META-INF/plugin.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</change-notes>
2626

2727
<!-- please see http://confluence.jetbrains.com/display/IDEADEV/Build+Number+Ranges for description -->
28-
<idea-version since-build="193.4386.10"/>
28+
<idea-version since-build="193.6494.35"/>
2929

3030
<!-- please see http://confluence.jetbrains.com/display/IDEADEV/Plugin+Compatibility+with+IntelliJ+Platform+Products
3131
on how to target different products -->
@@ -99,12 +99,11 @@
9999

100100
<directoryProjectConfigurator implementation="com.magento.idea.magento2plugin.project.ProjectDetector"/>
101101

102-
<libraryRoot id=".phpstorm.meta.php" path="/.phpstorm.meta.php/" runtime="false"/>
103-
104102
<localInspection language="PHP" groupPath="PHP"
105103
shortName="PluginInspection" displayName="Inspection for the Plugin declaration"
106104
groupName="Magento" enabledByDefault="true" level="ERROR"
107105
implementationClass="com.magento.idea.magento2plugin.inspections.php.PluginInspection"/>
106+
<libraryRoot id=".phpstorm.meta.php" path=".phpstorm.meta.php/" runtime="false"/>
108107
</extensions>
109108

110109
<application-components>

resources/inspectionDescriptions/PluginOnNotPublicMethod.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<html>
22
<body>
3-
<p>Plugins can not be used on following:</p>
3+
<p>Plugins can not be used with the following:</p>
44
<ul>
55
<li>Final classes</li>
66
<li>Non-public methods</li>

0 commit comments

Comments
 (0)