diff --git a/.gitignore b/.gitignore
index 3ef27a8..edaf213 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ build/
out/
.DS_Store
/intellijLint.jar
+src/main/resources
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
index 4c0bccd..fe2871d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -5,18 +5,26 @@ buildscript {
}
plugins {
- id "org.jetbrains.intellij" version "0.1.10"
+ id "org.jetbrains.intellij" version "0.2.13"
}
+task symlinkPluginXml(type:Exec) {
+ commandLine './symlink-resources-for-gradle.sh'
+}
+
+patchPluginXml.dependsOn(symlinkPluginXml)
+
apply plugin: 'idea'
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'
intellij {
- version 'IC-2016.3' //IntelliJ IDEA 2016.3 dependency; for a full list of IntelliJ IDEA releases please see https://www.jetbrains.com/intellij-repository/releases
- plugins 'coverage' //Bundled plugin dependencies
- pluginName 'intellij-inspections'
+}
+
+patchPluginXml {
+ sinceBuild '145.*'
+ untilBuild null
}
group 'com.lmax'
-version '1.0-SNAPSHOT'
+version '0.1'
diff --git a/intellijLint.iml b/intellijLint.iml
index 8198e0c..fc7a58f 100644
--- a/intellijLint.iml
+++ b/intellijLint.iml
@@ -8,6 +8,7 @@
+
diff --git a/resources/META-INF/plugin.xml b/resources/META-INF/plugin.xml
index 95b85c3..3abca64 100644
--- a/resources/META-INF/plugin.xml
+++ b/resources/META-INF/plugin.xml
@@ -2,8 +2,8 @@
com.lmax.intellijLint
intellijLint
- 1.0
- YourCompany
+ 0.1
+ LMAX
-
-
-
@@ -33,9 +28,4 @@
com.lmax.intellijLint.Units.UnitsInspection
-
-
-
-
-
diff --git a/symlink-resources-for-gradle.sh b/symlink-resources-for-gradle.sh
new file mode 100755
index 0000000..d28aa59
--- /dev/null
+++ b/symlink-resources-for-gradle.sh
@@ -0,0 +1,2 @@
+rm src/main/resources
+ln -s ../../resources/ src/main/resources
\ No newline at end of file