| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- 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.3.72"
- }
- group = "com.i2edu"
- version = "1.0"
- repositories {
- mavenCentral()
- }
- configure<JavaPluginConvention> {
- 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 = "2020.3.1"
- setPlugins("Dart:203.6912", "io.flutter:52.1.5")
- }
- tasks {
- withType<KotlinCompile> {
- kotlinOptions {
- jvmTarget = "1.8"
- languageVersion = "1.4"
- apiVersion = "1.3"
- freeCompilerArgs = listOf("-Xjvm-default=enable")
- }
- }
- getByName<org.jetbrains.intellij.tasks.PatchPluginXmlTask>("patchPluginXml") {
- changeNotes("""""")
- }
- }
|