diff --git a/build.gradle b/build.gradle index 31175b4..7baeaa3 100644 --- a/build.gradle +++ b/build.gradle @@ -3,23 +3,17 @@ buildscript { repositories { mavenCentral() - maven { url 'https://jitpack.io'} - maven { - url "https://oss.sonatype.org/content/repositories/snapshots/" - } - maven { - url 'https://dl.bintray.com/jetbrains/intellij-plugin-service' - } } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + classpath "it.unimi.dsi:fastutil:8.5.9" } } plugins { - id "org.jetbrains.intellij" version "0.5.0" - id "org.jetbrains.grammarkit" version "2020.2.1" + id "org.jetbrains.intellij" version "1.9.0" + id "org.jetbrains.grammarkit" version "2021.1.3" } group 'com.interfaced' @@ -39,7 +33,9 @@ sourceSets { sourceCompatibility = 1.8 grammarKit { - jflexRelease = '1.7.0' + jflexRelease = "1.7.0-1" + grammarKitRelease = "2021.1.2" +// intellijRelease = "203.7717.81" } repositories { @@ -47,25 +43,22 @@ repositories { } dependencies { - compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version: '1.3.72' - testCompile group: 'junit', name: 'junit', version: '4.12' + implementation group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version: '1.3.72' + testImplementation group: 'junit', name: 'junit', version: '4.12' testImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7" } intellij { - pluginName 'BrightScript' - type 'IC' - version '2020.2.3' + version.set("2021.3") + type.set("IC") // Target IDE Platform + +// plugins.set(listOf(/* Plugin Dependencies */)) } patchPluginXml { - changeNotes """ - - """ } + import org.jetbrains.grammarkit.tasks.* def GENERATE_GROUP = 'Generate' @@ -91,7 +84,7 @@ task generateParser(type: GenerateParser) { description = 'Generate Parser Java sources for BrightScript' group = GENERATE_GROUP - // patch up to date check +// patch up to date check outputs.upToDateWhen { false } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a6c9c58..ae04661 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,5 @@ -#Fri Oct 12 19:47:20 GMT+07:00 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-all.zip