I’m setting up my first plugin project using the g...
# intellij-plugins
j
I’m setting up my first plugin project using the gradle intellij plugin. Everything seems to be working fine, when running “runIde” but after the new intellij instance opens it hangs after every ui-action for around 10-20 seconds. Anybody has an idea what i might be doing wrong? Here is my `build.gradle`:
Copy code
buildscript {
    ext.kotlin_version = '1.2.10'

    repositories {
        maven { url '<http://dl.bintray.com/jetbrains/intellij-plugin-service>' }
        jcenter()
        maven { url "<https://oss.sonatype.org/content/repositories/snapshots/>" }
        mavenCentral()
    }
    dependencies {
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

plugins {
    id 'org.jetbrains.intellij' version "0.2.17"
}

apply plugin: 'org.jetbrains.intellij'
apply plugin: 'kotlin'

intellij {
    version 'LATEST-EAP-SNAPSHOT'
    pluginName 'My Plugin'
}

repositories {
    mavenCentral()
}

compileKotlin {
    sourceCompatibility = 1.8
    targetCompatibility = 1.8
}

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
    kotlinOptions {
        jvmTarget = "1.8"
    }
}
a
Check whether your run configuration contains or not argument -PnoPCE. You also probably should increase memory settings for you debug IDEA.