summaryrefslogtreecommitdiffstats
path: root/sd-plugin
diff options
context:
space:
mode:
authorShahar Ariel <73217928+shahariel@users.noreply.github.com>2021-10-18 12:45:31 +0300
committerGitHub <noreply@github.com>2021-10-18 12:45:31 +0300
commit54815dbd13f44de0f7a2bf807a191f71f31aae07 (patch)
treed2c4e675f063f195f305392588e7c1dd1b631da2 /sd-plugin
parentb1c510c80ed39f05942cde8e4f4d1d42a015ff4a (diff)
Add files via upload
Diffstat (limited to 'sd-plugin')
-rw-r--r--sd-plugin/build.gradle45
-rw-r--r--sd-plugin/settings.gradle3
2 files changed, 48 insertions, 0 deletions
diff --git a/sd-plugin/build.gradle b/sd-plugin/build.gradle
new file mode 100644
index 00000000000..cb696cb6fd1
--- /dev/null
+++ b/sd-plugin/build.gradle
@@ -0,0 +1,45 @@
+plugins {
+ id 'org.jetbrains.intellij' version '1.1.4'
+ id 'java'
+
+// id 'java-gradle-plugin' // I added that
+// id 'maven-publish' // to deploy the plugin into a Maven repo
+}
+
+group 'org.vz.native'
+version '1.0.5-SNAPSHOT'
+
+sourceCompatibility = 11 // I added that from Simple Plugin
+
+repositories {
+ mavenCentral()
+}
+
+dependencies {
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.2'
+// testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.2'
+}
+
+sourceSets.main.java.srcDirs 'src/main/gen'
+
+// See https://github.com/JetBrains/gradle-intellij-plugin/
+intellij {
+ version = '2021.2'
+ plugins = ['com.intellij.java']
+}
+
+buildSearchableOptions { // I added that from Simple Plugin
+ enabled = false
+}
+
+patchPluginXml {
+ version = project.version
+ sinceBuild = '203'
+ untilBuild = '212.*'
+ changeNotes = """
+ <em>fixed a casting bug in SdFindUsagesHandler</em>"""
+}
+
+test {
+ useJUnitPlatform()
+} \ No newline at end of file
diff --git a/sd-plugin/settings.gradle b/sd-plugin/settings.gradle
new file mode 100644
index 00000000000..5d47bd4197c
--- /dev/null
+++ b/sd-plugin/settings.gradle
@@ -0,0 +1,3 @@
+// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
+
+rootProject.name = 'sd_language_plugin'