-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
58 lines (45 loc) · 1.35 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
plugins {
id 'java'
id 'org.jetbrains.intellij.platform' version '2.1.0'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
group 'com.github.chocovon'
version '2.5.0'
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}
dependencies {
intellijPlatform {
intellijIdeaCommunity '2024.3'
bundledPlugin 'com.intellij.java'
instrumentationTools()
}
}
task copyPluginXml (type: Copy) {
from "src/configurations/meta-inf/" + rootProject.name
into "src/main/resources/META-INF"
include "**"
}
patchPluginXml {
mustRunAfter(copyPluginXml)
sinceBuild = '242'
changeNotes = """
2.5.0 support for IDEA 2024.3, remove support for Android <br/>
2.4.0 fixed problems with scrolling, other bug fixes <br/>
2.3.0 added more options to code generator <br/>
2.2.0 added code folding support in the dialog <br/>
2.1.0 added extracting variable as JSON to the dialog
"""
}
// set buildSearchableOptions=false in settings.properties to disable slow buildSearchableOptions while developing.
if (gradle.buildSearchableOptions) {
buildSearchableOptions.enabled = false
}
task dvslBuild(type: GradleBuild) {
processResources.dependsOn(':inner-tool:buildInnerJar')
tasks = ['copyPluginXml', ':inner-tool:buildInnerJar', 'buildPlugin']
}