forked from apollographql/apollo-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (35 loc) · 1.12 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
buildscript {
ext.apolloReleaseVersion = '0.4.4-SNAPSHOT'
dependencies {
classpath dep.androidPlugin
classpath "com.apollographql.apollo:apollo-gradle-plugin:$apolloReleaseVersion"
}
}
apply plugin: 'com.android.application'
apply plugin: 'com.apollographql.android'
android {
compileSdkVersion androidConfig.compileSdkVersion
buildToolsVersion androidConfig.buildToolsVersion
defaultConfig {
applicationId "com.example.apollographql.sample"
minSdkVersion androidConfig.minSdkVersion
targetSdkVersion androidConfig.targetSdkVersion
}
lintOptions {
textReport true
textOutput 'stdout'
ignore 'InvalidPackage', 'GoogleAppIndexingWarning', 'AllowBackup'
}
}
dependencies {
provided dep.jsr305
compile "com.apollographql.apollo:apollo-runtime:$apolloReleaseVersion"
compile "com.apollographql.apollo:apollo-android-support:$apolloReleaseVersion"
compile "com.apollographql.apollo:apollo-rx2-support:$apolloReleaseVersion"
compile dep.appcompat
compile dep.okhttpLoggingInterceptor
compile dep.recyclerView
compile dep.rxandroid
compile dep.rxjava2
testCompile dep.junit
}