AntiFeatures:
  - NonFreeNet
Categories:
  - Science & Education
License: GPL-3.0-only
SourceCode: https://github.com/shymmq/librus-client-kotlin
IssueTracker: https://github.com/shymmq/librus-client-kotlin/issues

AutoName: Dziennik
Description: Client for the Polish school system Synergia Librus.

RepoType: git
Repo: https://github.com/shymmq/librus-client-kotlin

Builds:
  - versionName: 0.2.1-fdroid
    versionCode: 3
    commit: 0.2.1
    subdir: app
    patch:
      - 0001-Remove-GCM.patch
    gradle:
      - full
    output: build/outputs/apk/full/release/app-full-release-unsigned.apk
    prebuild: sed -i -e 's/0.2.1/0.2.1-fdroid/' build.gradle

  - versionName: 0.3-fdroid
    versionCode: 4
    commit: '0.3'
    subdir: app
    patch:
      - 0002-Remove-GCM.patch
    gradle:
      - full
    output: build/outputs/apk/full/release/app-full-release-unsigned.apk
    prebuild: sed -i -e 's/0.3/0.3-fdroid/' build.gradle

  - versionName: 0.4-fdroid
    versionCode: 5
    commit: '0.4'
    subdir: app
    patch:
      - 0003-Remove-GCM.patch
    gradle:
      - full
    output: build/outputs/apk/full/release/app-full-release-unsigned.apk
    prebuild: sed -i -e 's/0.4/0.4-fdroid/' build.gradle

  - versionName: 0.4.1-fdroid
    versionCode: 6
    commit: 0.4.1
    subdir: app
    patch:
      - 0004-Remove-GCM.patch
    gradle:
      - full
    output: build/outputs/apk/full/release/app-full-release-unsigned.apk
    prebuild: sed -i -e '/dl.bintray.com/d' -e '/kluent/d' -e '/Android Test/,+3d'
        ../build.gradle build.gradle

  - versionName: 0.5.0-fdroid
    versionCode: 9
    commit: 0.5.0
    subdir: app
    patch:
      - 0005-Remove-GCM.patch
    gradle:
      - full
    prebuild: sed -i -e '/dl.bintray.com/d' -e '/kluent/d' -e '/Android Test/,+3d'
        ../build.gradle build.gradle

  - versionName: 0.5.1-fdroid
    versionCode: 10
    commit: b0e5ec251155920876f140a0fb1358b4edc61f78
    subdir: app
    patch:
      - 0006-Remove-GCM.patch
    gradle:
      - full
    prebuild: sed -i -e '/dl.bintray.com/d' -e '/kluent/d' -e '/Android Test/,+3d'
        ../build.gradle build.gradle

AutoUpdateMode: None
UpdateCheckMode: Tags
CurrentVersion: 0.5.0
CurrentVersionCode: 9
