Resources spell testing library and gradle plugin.
For example, you have two files:
readme.md
:
Hello world!
Привет, миииир!
strings.xml
:
<resources>
<string name="hello_world">Hello, world!</string>
<string name="hello_world_bad">Hello, worllld!</string>
</resources>
To check it, you should define plugin and configure it:
plugins {
id("com.nikialeksey.arspell").version("<latest>")
}
arspell {
md(file("./readme.md")) {
dictionary {
en()
ru()
}
ignoreWords(["миииир"])
}
android(file("./strings.xml")) {
dictionary {
en()
}
ignoreKeys(["hello_world_bad"])
}
}
Then run it as gradle task:
./gradlew arspell
gradlew build publish closeAndReleaseRepository
-
3.1.3
- support aarch64 -
3.1.2
- small fixes for Android strings (skip format specifiers, skip references in string resources) -
3.1.1
- upgrade dependencies -
3.1.0
- migrate to maven central