b695940114
* 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
58 lines
1.1 KiB
Kotlin
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)
|
|
}
|