-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
33 lines (26 loc) · 990 Bytes
/
build.gradle
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
plugins {
id 'org.jetbrains.intellij' version '1.6.0'
}
repositories {
mavenCentral()
maven { url "https://www.jetbrains.com/intellij-repository/releases" }
maven { url "https://www.jetbrains.com/intellij-repository/snapshots" }
}
group 'com.justint'
version '0.4.2'
sourceSets.main.java.srcDirs = ['src/main/gen','src/main/java']
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version = System.getenv().getOrDefault("IDEA_VERSION", "IC-221.5921.22")
//alternativeIdePath '/Applications/PyCharm.app'
updateSinceUntilBuild = false
}
// Simple function to load change-notes.html and description.html into valid text for plugin.xml
def htmlFixer = {htmlFile -> file(htmlFile).text.replace('<html>', '').replace('</html>', '')}
patchPluginXml {
changeNotes = htmlFixer('src/main/resources/META-INF/change-notes.html')
sinceBuild = '192'
}
runPluginVerifier {
ideVersions = "$pluginVerifierIdeVersions".split(",").toList()
}