Files
mihon-bookoasis/icons/material-symbols/build.gradle.kts
T
AntsyLich b695940114 Switch to Material Symbols and use Valkyrie for ImageVector generation (#3873)
* Add material symbols icon module

Assisted-by: Claude:claude-opus-5

* Replace material icons with material symbols

Assisted-by: Claude:claude-opus-5

* Add simple icons module and migrate CustomIcons

Assisted-by: Claude:claude-opus-5
2026-08-29 21:39:55 +06:00

58 lines
1.1 KiB
Kotlin

plugins {
alias(mihonx.plugins.android.library)
alias(mihonx.plugins.compose)
alias(mihonx.plugins.spotless)
alias(libs.plugins.valkyrie)
}
android {
namespace = "mihon.icons.materialsymbols"
}
spotless {
format("svg") {
target("src/**/*.svg")
trimTrailingWhitespace()
endWithNewline()
}
}
valkyrie {
packageName = "mihon.icons.materialsymbols"
generateAtSync = true
imageVector {
suppressUnusedReceiverWarning = true
}
iconPack {
name = "MaterialSymbols"
targetSourceSet = "main"
nested {
name = "Rounded"
sourceFolder = "rounded"
autoMirror = false
}
nested {
name = "RoundedFilled"
sourceFolder = "roundedFilled"
autoMirror = false
}
// https://github.com/ComposeGears/Valkyrie/pull/1019
nested {
name = "AutoMirroredRounded"
sourceFolder = "autoMirroredRounded"
autoMirror = true
}
}
}
dependencies {
api(libs.androidx.compose.ui)
}