import org.gradle.api.JavaVersion.VERSION_1_8 import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { id("org.jetbrains.intellij") version "0.7.2" java kotlin("jvm") version "1.4.10" } group = "com.i2edu" version = "2.0" repositories { mavenCentral() maven { url = uri("https://jitpack.io") } maven { url = uri("https://cache-redirector.jetbrains.com/jetbrains.bintray.com/intellij-plugin-service") } maven { url = uri("https://cache-redirector.jetbrains.com/repo1.maven.org/maven2") } maven { url = uri("https://cache-redirector.jetbrains.com/jcenter.bintray.com") } } configure { sourceCompatibility = VERSION_1_8 targetCompatibility = VERSION_1_8 } dependencies { implementation(kotlin("stdlib")) testCompile("junit", "junit", "4.12") } // See https://github.com/JetBrains/gradle-intellij-plugin/ intellij { version = "2021.1" setPlugins("Dart:211.7233", "io.flutter:56.0.5") } tasks { withType { kotlinOptions { jvmTarget = "1.8" languageVersion = "1.4" apiVersion = "1.3" freeCompilerArgs = listOf("-Xjvm-default=enable") } } getByName("patchPluginXml") { changeNotes("""""") } }