41 lines
1.5 KiB
Groovy
41 lines
1.5 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'me.tatarka.retrolambda'
|
|
|
|
android {
|
|
compileSdkVersion 26
|
|
buildToolsVersion "26.0.1"
|
|
defaultConfig {
|
|
applicationId "com.wbrawner.weathermap"
|
|
minSdkVersion 19
|
|
targetSdkVersion 26
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
buildConfigField("String", "API_KEY", API_KEY)
|
|
buildConfigField("String", "API_URL", API_URL)
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
})
|
|
compile 'com.android.support:appcompat-v7:26.+'
|
|
compile 'com.google.android.gms:play-services-maps:11.0.4'
|
|
compile 'com.google.android.gms:play-services-location:11.0.4'
|
|
compile 'com.android.support.constraint:constraint-layout:1.0.2'
|
|
compile 'com.squareup.retrofit2:retrofit:2.3.0'
|
|
compile 'com.squareup.retrofit2:converter-moshi:2.3.0'
|
|
compile 'com.squareup.moshi:moshi:1.5.0'
|
|
compile 'com.jakewharton:butterknife:8.8.1'
|
|
compile 'com.squareup.picasso:picasso:2.5.2'
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
|
|
testCompile 'junit:junit:4.12'
|
|
}
|