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
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'
}
......@@ -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()
}
}
......
#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
include ':app'
include ':app'
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment