2016-04-06 17:47:26 -07:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2018-03-12 16:38:36 -07:00
|
|
|
maven {
|
|
|
|
url 'https://maven.google.com'
|
|
|
|
}
|
2016-04-06 17:47:26 -07:00
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2018-03-29 00:31:14 -07:00
|
|
|
classpath 'com.android.tools.build:gradle:3.1.0'
|
2016-04-06 17:47:26 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2018-03-12 16:38:36 -07:00
|
|
|
maven {
|
|
|
|
url 'https://maven.google.com'
|
|
|
|
}
|
2018-03-29 00:31:14 -07:00
|
|
|
jcenter()
|
2016-04-06 17:47:26 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.android.application'
|
2018-03-12 16:38:36 -07:00
|
|
|
apply plugin: 'checkstyle'
|
|
|
|
apply plugin: 'findbugs'
|
2016-04-06 17:47:26 -07:00
|
|
|
|
|
|
|
dependencies {
|
2018-04-27 17:19:58 -07:00
|
|
|
compile 'com.android.support:support-core-utils:27.1.1'
|
|
|
|
compile 'com.android.support:support-fragment:27.1.1'
|
|
|
|
compile 'com.android.support:support-core-ui:27.1.1'
|
2016-04-06 17:47:26 -07:00
|
|
|
compile 'com.jakewharton:butterknife:7.0.1'
|
2017-08-29 17:23:24 -07:00
|
|
|
compile 'com.squareup.okhttp3:okhttp:3.8.1'
|
2018-02-01 13:48:54 -08:00
|
|
|
compile 'com.google.code.gson:gson:2.8.2'
|
2018-04-27 17:19:58 -07:00
|
|
|
compile 'com.android.support:recyclerview-v7:27.1.1'
|
2016-04-06 17:47:26 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2018-03-12 16:38:36 -07:00
|
|
|
compileSdkVersion 27
|
|
|
|
buildToolsVersion '27.0.3'
|
2017-03-10 04:03:25 -08:00
|
|
|
compileOptions.with {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_7
|
|
|
|
}
|
2018-03-12 16:38:36 -07:00
|
|
|
|
|
|
|
// force old processing behaviour that butterknife 7 depends on, until we can afford to upgrade
|
|
|
|
android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true
|
|
|
|
|
2016-04-06 17:47:26 -07:00
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
manifest.srcFile 'AndroidManifest.xml'
|
|
|
|
java.srcDirs = ['src']
|
|
|
|
res.srcDirs = ['res']
|
|
|
|
assets.srcDirs = ['assets']
|
|
|
|
}
|
|
|
|
}
|
2018-03-12 16:38:36 -07:00
|
|
|
|
2016-04-06 17:47:26 -07:00
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
2018-03-12 16:38:36 -07:00
|
|
|
|
2016-04-06 17:47:26 -07:00
|
|
|
buildTypes {
|
|
|
|
debug {
|
|
|
|
minifyEnabled false
|
|
|
|
shrinkResources false
|
|
|
|
}
|
|
|
|
release {
|
|
|
|
minifyEnabled true
|
|
|
|
shrinkResources true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|