Skip to content

Commit

Permalink
add platform(enforcedPlatform) support
Browse files Browse the repository at this point in the history
  • Loading branch information
siosio committed Jan 9, 2019
1 parent ebaee55 commit e48dd00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
}

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

apply plugin: 'java'
Expand All @@ -33,8 +33,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

0 comments on commit e48dd00

Please sign in to comment.