File tree Expand file tree Collapse file tree 1 file changed +76
-0
lines changed
Expand file tree Collapse file tree 1 file changed +76
-0
lines changed Original file line number Diff line number Diff line change 1+ # Gradle plugin changelog
2+
3+ ## [ 0.2.0] - 2025-12-08
4+
5+ ### Added
6+
7+ - Introduce separate code style configuration for generated code
8+
9+ Breaking changes:
10+
11+ 1 . ` useExplicitMode ` and ` indentSize ` moved from ` imageVector ` into ` codeStyle ` block because they will be reused for
12+ icon pack generation as well
13+
14+ ``` kotlin
15+ valkyrie {
16+ // Optional: Code style configuration for generated code
17+ codeStyle {
18+ // Add explicit `public` modifier to generated declarations (default: false)
19+ useExplicitMode = false
20+
21+ // Number of spaces used for each level of indentation in generated code (default: 4)
22+ indentSize = 4
23+ }
24+ }
25+ ```
26+
27+ - Introduce iconpack generation and configuration
28+
29+ Breaking changes:
30+
31+ 1 . ` iconPackName ` and ` nestedPackName ` options removed and replaced them with a dedicated ` iconPack `
32+ and ` nested ` blocks
33+ 2 . ` useFlatPackage ` moved into ` iconPack ` block
34+
35+ For more details,
36+ see [ documentation] ( https://github.com/ComposeGears/Valkyrie/tree/gradle-plugin-0.2.0?tab=readme-ov-file#gradle-plugin ) .
37+
38+ For simple icon pack generation, you can use the following configuration:
39+
40+ ``` kotlin
41+ valkyrie {
42+ packageName = " com.example.app.icons"
43+
44+ iconPack {
45+ name = " ValkyrieIcons"
46+ targetSourceSet = " commonMain" // icon pack object will be generated in commonMain source set
47+ }
48+ }
49+ ```
50+
51+ For nested icon packs, you can define multiple ` nested ` icon packs within the ` iconPack ` block:
52+
53+ ``` kotlin
54+ valkyrie {
55+ packageName = " com.example.app.icons"
56+
57+ iconPack {
58+ name = " ValkyrieIcons"
59+ targetSourceSet = " commonMain" // icon pack object will be generated in commonMain source set
60+
61+ nested {
62+ name = " Outlined"
63+ sourceFolder = " outlined"
64+ }
65+
66+ nested {
67+ name = " Filled"
68+ sourceFolder = " filled"
69+ }
70+ }
71+ }
72+ ```
73+
74+ ## [ 0.1.0] - 2025-11-30
75+
76+ - Initial release of Valkyrie Gradle plugin
You can’t perform that action at this time.
0 commit comments