forked from giraud/reasonml-idea-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
59 lines (50 loc) · 1.66 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
plugins {
id 'java'
id 'org.jetbrains.intellij' version '1.15.0' // https://github.com/JetBrains/gradle-intellij-plugin
}
repositories {
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
gradlePluginPortal()
}
dependencies {
testImplementation 'junit:junit:4.13.2'
}
apply plugin: 'java'
apply plugin: 'org.jetbrains.intellij'
group = pluginGroup
version = pluginVersion + '-' + platformVersion
java.sourceCompatibility = '17.0'
compileJava.options.encoding = 'UTF-8'
intellij {
version = platformVersion
type = platformType
plugins = platformPlugins.split(',').collect { it.trim() }
downloadSources = true
patchPluginXml {
sinceBuild = pluginSinceBuild
untilBuild = pluginUntilBuild
changeNotes = """
<ul>
<li>437 - Incorrect language injection in macro</li>
<li>Removing some TODOs in code</li>
<li>Fix cast exception in ORModuleContributor</li>
<li>Fix some parser errors</li>
</ul>
<p><a href="https://github.com/giraud/reasonml-idea-plugin/blob/master/CHANGELOG.md">Full change log...</a></p>
<p/>
<p>To see how to integrate tools, go to the website.</p>
""".stripIndent()
}
}
runPluginVerifier {
ideVersions = [platformVersion]
}
runIde {
systemProperty 'idea.is.internal', true
jvmArgs '-Xmx2G'
// MAVEN_CACHE C:\Users\hgiraud\scoop\persist\maven\.m2
// MAVEN_HOME C:\Users\hgiraud\scoop\apps\maven\current
// MAVEN_REPOSITORY C:\Users\hgiraud\scoop\persist\maven\.m2\repository
}