Skip to content

nikialeksey/arspell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4c17349 · Feb 11, 2023

History

30 Commits
Nov 17, 2021
Nov 18, 2021
Feb 11, 2023
Feb 11, 2023
Feb 11, 2023
Nov 17, 2021
Feb 11, 2023
Feb 11, 2023
Nov 17, 2021
Apr 12, 2019
Jan 21, 2023
Jan 21, 2023
Oct 4, 2021
Nov 12, 2018
Feb 11, 2023
Nov 17, 2021

Repository files navigation

Arspell

Build Status codecov

Lib version Gradle plugin version License: GPLv3

Resources spell testing library and gradle plugin.

How to

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

@todo #10:30 m Write docs about LanguageTool using

Publish

gradlew build publish closeAndReleaseRepository

Changelog

  • 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