forked from aefimov/idea-batch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
73 lines (62 loc) · 2.42 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import org.jetbrains.grammarkit.tasks.GenerateLexerTask
// see https://github.com/JetBrains/gradle-intellij-plugin/
plugins {
id 'java'
id 'org.jetbrains.intellij' version '1.12.0'
id "org.jetbrains.grammarkit" version "2022.3.1"
id "com.github.ben-manes.versions" version "0.47.0"
id 'se.bjurr.gitchangelog.git-changelog-gradle-plugin' version '1.79.0'
}
sourceCompatibility = 17
repositories {
mavenCentral()
}
dependencies {
testImplementation 'junit:junit:4.13.2'
}
intellij {
version = '201.6668.121'
pluginName = 'idea-batch'
}
patchPluginXml {
untilBuild = ''
changeNotes = """
<b>Changes in version 1.0.13:</b>
<ul>
<li>Commenter and file type registration fixes</li>
<li>Fix error in 2021.3</li>
<li>Minimum version 2020.1 (201.6668.121)</li>
</ul>
<b>Changes in version 1.0.12:</b>
<ul>
<li>Decrease minimum version to support older IDE Versions)</li>
</ul>
<b>Changes in version 1.0.11:</b>
<ul>
<li>Unset the maximum intellij version to not required rebuild (by wibotwi)</li>
<li>Allow installation on all JetBrains IDEs (by wibotwi)</li>
</ul>
<b>Changes in version 1.0.10:</b>
<ul>
<li>Fix typo causing an IllegalStateException #31 (by Divyanshu Sharma)</li>
<li>Change to LazyRunConfigurationProducer, RunConfigurationProducer is deprecated</li>
<li>pluginIcon (by Connectety)</li>
<li>Minimum version 191.4212.41</li>
<li>German translation</li>
<li>MIT License #34</li>
</ul>"""
}
group 'org.intellij.lang.batch'
version '1.0.13'
tasks.register('generateBatchLexer', GenerateLexerTask) {
source = "src/main/java/org/intellij/lang/batch/lexer/Batch.flex"
targetDir = "src/main/java/org/intellij/lang/batch/lexer/"
targetClass = "_BatchLexer"
purgeOldFiles = true
}
tasks.register('generateExpressionLexer', GenerateLexerTask) {
source = "src/main/java/org/intellij/lang/batch/lexer/Expression.flex"
targetDir = "src/main/java/org/intellij/lang/batch/lexer/"
targetClass = "_ExpressionLexer"
purgeOldFiles = true
}