Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 14 additions & 21 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -39,33 +33,32 @@ sourceSets {
sourceCompatibility = 1.8

grammarKit {
jflexRelease = '1.7.0'
jflexRelease = "1.7.0-1"
grammarKitRelease = "2021.1.2"
// intellijRelease = "203.7717.81"
}

repositories {
mavenCentral()
}

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 """
<ul>
<li>Support for 2020.2</li>
</ul>
"""
}


import org.jetbrains.grammarkit.tasks.*

def GENERATE_GROUP = 'Generate'
Expand All @@ -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 }
}

Expand Down
3 changes: 1 addition & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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