gladed
gladed
In Version 1.9.3, calling a mocked suspending function throws "no answer found" even if an answer was provided. ```kotlin val call = mockk Int>() coEvery { call() } returns 5...
It [sometimes fails](https://circleci.com/gh/gladed/gradle-android-git-version/71) but usually passes [after a rebuild](https://circleci.com/gh/gladed/gradle-android-git-version/73). Failure looks like: ``` Your job ran 49 tests with 1 failure testNearestTag - com.gladed.androidgitversion.TagTest junit.framework.ComparisonFailure: expected: but was: at junit.framework.Assert.assertEquals(Assert.java:100)...
Out of the box behavior differs from command line `git describe`, and it doesn't need to. So: * prepend with `g` * use 8 characters With this we can dispense...
At present, a search for the closest tag follows all commits (see #22). This means when merging release back down to master you'll bring along the latest release tag, which...
Instead of: ``` androidGitVersion { untrackedIsDirty = true } ``` support ``` androidGitVersion { format "%tag%%-count%%-commit%%-branch%%-dirty(untracked)%" } ```
Consider replacing `commitHashLength` with a parameter to the commit part, e.g.: `format '%tag%%%`
When moving to 1.0.0 we should remove deprecated options (`multiplier` and `parts`)
The current `codeFormat` takes up too much space (`MMMNNNPPP`). Most intermediate versions don't reach 3 digits. MNNPPP would be a better default. But changing this is disruptive so should be...