-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
66 lines (56 loc) · 1.61 KB
/
build.gradle
File metadata and controls
66 lines (56 loc) · 1.61 KB
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
plugins {
id 'java'
id 'org.jetbrains.intellij' version '1.17.1'
}
group = 'org.cobalyte'
version = '1.2.1'
repositories {
mavenCentral()
}
// Configure Gradle IntelliJ Plugin
intellij {
version = '2024.3.5'
type = 'IC' // Target IDE Platform - IC for IntelliJ IDEA Community Edition
}
dependencies {
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
// Configure plugin metadata
patchPluginXml {
sinceBuild = '231'
untilBuild = ''
pluginDescription = '''
A plugin for JetBrains IDEs that automatically prefixes commit messages with information extracted from branch names.
Features:
<ul>
<li>Extract information from branch names using configurable regex patterns</li>
<li>Format commit messages using configurable format patterns</li>
<li>Enable/disable the plugin from the commit dialog</li>
<li>Configure the plugin from the IDE settings</li>
</ul>
Example:
<ul>
<li>Branch name: feature/12345-add-new-feature</li>
<li>Commit message: "Initial implementation"</li>
<li>Result: "#12345 - Initial implementation"</li>
</ul>
'''
changeNotes = '''
<h3>Version 1.2.1</h3>
<ul>
<li>Added support for 2025.1</li>
</ul>
<h3>Version 1.2.0</h3>
<ul>
<li>Extended compatibility to support 2024.3.x IDEs including Rider 2024.3.6</li>
</ul>
<h3>Version 1.1.0</h3>
<ul>
<li>Initial release of the Commit Message Prefixer plugin</li>
</ul>
'''
}
test {
useJUnitPlatform()
}