Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
siosio committed Jan 9, 2019
2 parents e22bf3c + 5f008fb commit ab39e1d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
9 changes: 5 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ buildscript {
}

plugins {
id "org.jetbrains.intellij" version "0.3.10"
id "org.jetbrains.intellij" version "0.4.1"
}

apply plugin: 'java'
apply plugin: "kotlin"

version '1.13'

intellij {
pluginName 'Gradle Dependencies Helper'
version = 'IC-2018.2.4'
Expand All @@ -33,8 +34,8 @@ repositories {
}

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.70"
testCompile 'junit:junit:4.12'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.70"
testImplementation 'junit:junit:4.12'
}

task wrapper(type: Wrapper) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ class GradleDependenciesCompletionContributor : AbstractGradleCompletionContribu
.andOr(
psiElement()
.withParent(GrLiteral::class.java)
.withSuperParent(5, psiElement(GrMethodCallExpression::class.java)
.withText(containsDependencies)),
.andOr(
psiElement().withSuperParent(5, psiElement(GrMethodCallExpression::class.java).withText(containsDependencies)),
psiElement().withSuperParent(7, psiElement(GrMethodCallExpression::class.java).withText(containsDependencies))
),
psiElement()
.withParent(GrStringContent::class.java)
.withSuperParent(6, psiElement(GrMethodCallExpression::class.java)
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<idea-plugin>
<id>GradleDependenciesHelper</id>
<name>Gradle Dependencies Helper</name>
<version>1.12</version>
<vendor email="siosio12@gmail.com" url="https://github.com/siosio/GradleDependenciesHelperPlugin">siosio</vendor>
<depends>org.jetbrains.plugins.gradle</depends>
<depends>org.intellij.groovy</depends>
Expand All @@ -12,6 +11,9 @@

<change-notes><![CDATA[
<ul>
<li>1.13
Add completion in 'platform' or 'enforcedPlatform'
</li>
<li>1.8
bug fix.<br/>
<li>
Expand Down

0 comments on commit ab39e1d

Please sign in to comment.