Skip to content
View michaelbel's full-sized avatar
🏠
Working from home
🏠
Working from home
Block or Report

Block or report michaelbel

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
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 220 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()