File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
src/main/resources/META-INF Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1
1
// Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
// SPDX-License-Identifier: Apache-2.0
3
3
4
+ import software.aws.toolkits.gradle.changelog.tasks.GeneratePluginChangeLog
4
5
import software.aws.toolkits.gradle.intellij.IdeFlavor
5
6
import software.aws.toolkits.gradle.intellij.IdeVersions
6
7
@@ -9,6 +10,18 @@ plugins {
9
10
id(" toolkit-patch-plugin-xml-conventions" )
10
11
}
11
12
13
+ val changelog = tasks.register<GeneratePluginChangeLog >(" pluginChangeLog" ) {
14
+ includeUnreleased.set(true )
15
+ changeLogFile.set(project.file(" $buildDir /changelog/change-notes.xml" ))
16
+ }
17
+
18
+ tasks.jar {
19
+ dependsOn(changelog)
20
+ from(changelog) {
21
+ into(" META-INF" )
22
+ }
23
+ }
24
+
12
25
intellij {
13
26
plugins.set(
14
27
listOf (
Original file line number Diff line number Diff line change 48
48
49
49
<depends >aws.toolkit.core</depends >
50
50
<xi : include href =" /META-INF/module-amazonq.xml" />
51
+
52
+ <xi : include href =" /META-INF/change-notes.xml" xpointer =" xpointer(/idea-plugin/*)" >
53
+ <xi : fallback />
54
+ </xi : include >
51
55
</idea-plugin >
You can’t perform that action at this time.
0 commit comments