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

Commit 39c180ac authored by Namnodorel's avatar Namnodorel Committed by Joey
Browse files

Update gradle configuration

* Update SDK version
* Update gradle version
* Include lineage SDK jar locally

Change-Id: Ie2ec46937aaadfc41eab32516d2c32ec33f2973a
parent f292e60d
Loading
Loading
Loading
Loading
+12 −9
Original line number Diff line number Diff line
apply plugin: 'com.android.application'

android {
    compileSdkVersion 25
    buildToolsVersion "25.0.2"
    compileSdkVersion 27

    defaultConfig {
        applicationId "org.lineageos.openweathermapprovider"
        minSdkVersion 23
        targetSdkVersion 25
        minSdkVersion 27
        targetSdkVersion 27
        versionCode 1
        versionName "1.0"
    }
@@ -21,12 +20,16 @@ android {
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/NOTICE.txt'
    }
    lintOptions {
        // These depend on translations
        disable 'MissingTranslation'
    }
}

dependencies {
    compile 'org.lineageos:platform.sdk:8.+'
    compile 'com.google.code.gson:gson:2.7'
    compile 'com.squareup.retrofit2:retrofit:2.0.1'
    compile 'com.squareup.retrofit2:converter-gson:2.0.1'
    compile 'com.squareup.okhttp3:okhttp:3.2.0'
    implementation fileTree(dir: 'libs', include: ['lineage-sdk.jar'])
    implementation 'com.google.code.gson:gson:2.7'
    implementation 'com.squareup.retrofit2:retrofit:2.0.1'
    implementation 'com.squareup.retrofit2:converter-gson:2.0.1'
    implementation 'com.squareup.okhttp3:okhttp:3.2.0'
}
+297 KiB

File added.

No diff preview for this file type.

+7 −2
Original line number Diff line number Diff line
@@ -3,9 +3,10 @@
buildscript {
    repositories {
        jcenter()
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.3.0'
        classpath 'com.android.tools.build:gradle:3.2.1'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
@@ -14,7 +15,11 @@ buildscript {

allprojects {
    repositories {
        mavenCentral()
        jcenter()
        maven {
            url 'https://maven.google.com'
        }
        google()
    }
}

+2 −2
Original line number Diff line number Diff line
#Mon Jun 05 20:27:06 CEST 2017
#Sat Dec 15 16:34:28 EET 2018
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.6-all.zip
+1 −1

File changed.

Contains only whitespace changes.