Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit b331309c authored by Marvin W.'s avatar Marvin W. 🐿️
Browse files

Update gradle, build tools, deps, fix/suppress warnings

parent e6c6e19c
Loading
Loading
Loading
Loading
+5 −13
Original line number Diff line number Diff line
language: android
sudo: false
git:
  submodules: false
before_install:
  - git submodule update --init --recursive
before_script:
  - echo sdk.dir $ANDROID_HOME > local.properties
script:
  - jdk_switcher use oraclejdk8
  - export TERM=dumb
  - export JAVA_OPTS="-XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
  - export JAVA_OPTS="-XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
  - ./gradlew build
android:
  components:
  - tools
  - platform-tools
  - build-tools-25.0.2
  - android-25
  - build-tools-27.0.3
  - android-27
  - extra-android-m2repository
before_cache:
  - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/
before_install:
 - yes | sdkmanager "platforms;android-27"
+7 −4
Original line number Diff line number Diff line
@@ -17,26 +17,29 @@
buildscript {
    repositories {
        jcenter()
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.3.1'
        classpath 'com.android.tools.build:gradle:3.0.1'
        classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
    }
}

allprojects {
    apply plugin: 'idea'
    ext.androidBuildVersionTools = "25.0.2"
    ext.androidBuildVersionTools = "27.0.3"
    ext.supportLibraryVersion = "27.0.2"
}

def androidCompileSdk() { return 25 }
def androidCompileSdk() { return 27 }

def androidTargetSdk() { return 23 }
def androidTargetSdk() { return 27 }

def androidMinSdk() { return 9 }

subprojects {
    repositories {
        jcenter()
        maven { url "https://maven.google.com" }
    }
}
Compare 2ae6aa2b to 0dedff97
Original line number Diff line number Diff line
Subproject commit 2ae6aa2b492f92ef101cbf82fb81e36b8002a6c2
Subproject commit 0dedff974617604b61e78c22bd57a8f1b5b14512
Compare 85e78694 to 59b67411
Original line number Diff line number Diff line
Subproject commit 85e786947af84a581ea97bc02af3583f1b0747ad
Subproject commit 59b6741166571bfcaf64e5feec7469190c7852aa
+1 −1
Original line number Diff line number Diff line
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4.1-all.zip
Loading