language: android
jdk:
    - oraclejdk8
android:
  components:
    # The BuildTools version used by NewPipe
    - tools
    - build-tools-28.0.3

    # The SDK version used to compile NewPipe
    - android-28

before_install: 
  - yes | sdkmanager "platforms;android-28"
script: ./gradlew -Dorg.gradle.jvmargs=-Xmx1536m assembleDebug lintDebug testDebugUnitTest

licenses:
  - '.+'