ksp-plugin
examination↓ --
// KSP (Kotlin Symbol Processing) プラグインの基本的な空実装
このスニペットはまだ審査中です。公式に承認されていません。
$ Installation
// terminal
npx @tbsten/mir install ksp-plugin --registry=official// Add to your mirconfig.yaml
// mirconfig.yaml
registries:
- name: official
url: https://mir.tbsten.me/registrymoduleDirpackagepackageDirprocessorNamekotlinJvmPluginkspDependency
Preview with variables
// Enter variable values to see expanded output
// directory_structure
ksp-plugin/
└── {{moduleDir}}/
├── build.gradle.kts
└── src/main/
├── kotlin/{{packageDir}}/
│ ├── {{processorName}}Processor.kt
│ └── {{processorName}}ProcessorProvider.kt
└── resources/META-INF/services/
└── com.google.devtools.ksp.processing.SymbolProcessorProvider
// {{moduleDir}}/build.gradle.kts
plugins {
{{kotlinJvmPlugin}}
}
dependencies {
implementation({{kspDependency}})
}