The Wayback Machine - https://web.archive.org/web/20240524055528/https://github.com/michaelbel
Skip to content
View michaelbel's full-sized avatar
�?
Working from home
�?
Working from home
Block or Report

Block or report michaelbel

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
michaelbel/README.md

Hello there!

Pinned

  1. movies movies Public

    Discover movies app illustrating Kotlin Multiplatform development best practices

    Kotlin 227 34

  2. template template Public template

    A simple GitHub template that lets you create a modern Android app

    Kotlin 14 2

  3. PreviewSeekBar PreviewSeekBar Public

    Show preview of custom text

    Kotlin 5

  4. EnumBitmask EnumBitmask Public

    Kotlin Enum Bitmask

    Kotlin

  5. todo todo Public archive

    Todo Android App

    Kotlin 1

  6. Git commits count as version code (G... Git commits count as version code (Groovy & Kotlin implementation)
    1
    static def gitVersion() {
    2
        def result = "git rev-list HEAD --count".execute().text.trim() // unix
    3
        if (result.empty) result = "PowerShell -Command git rev-list HEAD --count".execute().text.trim() // windows
    4
        if (result.empty) throw new RuntimeException("Could not generate versioncode on this platform? Cmd output: ${result.text}")
    5
        return result.toInteger()