aboutsummaryrefslogtreecommitdiffstats
path: root/sd-plugin/build.gradle
blob: cb696cb6fd13540b1015879600b8fbfa35ec154d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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()
}