|
| 1 | +apply plugin: 'com.android.application' |
| 2 | +apply plugin: 'com.neenbedankt.android-apt' |
| 3 | +apply plugin: 'me.tatarka.retrolambda' |
| 4 | +apply plugin: 'realm-android' |
| 5 | + |
| 6 | +android { |
| 7 | + compileSdkVersion 25 |
| 8 | + buildToolsVersion "25.0.0" |
| 9 | + defaultConfig { |
| 10 | + applicationId "demoapp.dapulse.com.dapulsedemoapp" |
| 11 | + minSdkVersion 15 |
| 12 | + targetSdkVersion 25 |
| 13 | + versionCode 1 |
| 14 | + versionName "1.0" |
| 15 | + testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" |
| 16 | + } |
| 17 | + buildTypes { |
| 18 | + release { |
| 19 | + minifyEnabled false |
| 20 | + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
| 21 | + } |
| 22 | + } |
| 23 | + |
| 24 | + compileOptions { |
| 25 | + sourceCompatibility JavaVersion.VERSION_1_8 |
| 26 | + targetCompatibility JavaVersion.VERSION_1_8 |
| 27 | + } |
| 28 | +} |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +dependencies { |
| 33 | + compile fileTree(dir: 'libs', include: ['*.jar']) |
| 34 | + androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { |
| 35 | + exclude group: 'com.android.support', module: 'support-annotations' |
| 36 | + }) |
| 37 | + |
| 38 | + compile 'com.android.support:appcompat-v7:25.1.1' |
| 39 | + compile "com.android.support:recyclerview-v7:25.1.1" |
| 40 | + |
| 41 | + compile 'com.squareup.retrofit:retrofit:1.9.0' |
| 42 | + compile 'io.reactivex:rxandroid:1.0.1' |
| 43 | + compile 'com.squareup.picasso:picasso:2.5.2' |
| 44 | + testCompile 'junit:junit:4.12' |
| 45 | + |
| 46 | + compile 'com.jakewharton:butterknife:8.5.1' |
| 47 | + annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1' |
| 48 | + |
| 49 | + // Butter Knife |
| 50 | + compile 'com.jakewharton:butterknife:8.4.0' |
| 51 | + apt 'com.jakewharton:butterknife-compiler:8.4.0' |
| 52 | + |
| 53 | + // Dagger 2 |
| 54 | + apt 'com.google.dagger:dagger-compiler:2.8' |
| 55 | + compile 'com.google.dagger:dagger:2.8' |
| 56 | + provided 'javax.annotation:jsr250-api:1.0' |
| 57 | + |
| 58 | + //retro lambada |
| 59 | + retrolambdaConfig 'net.orfjackal.retrolambda:retrolambda:2.3.0' |
| 60 | +} |
0 commit comments