Created
January 6, 2017 05:21
-
-
Save prasad091/c55def618439de1fb1cbe1648450a257 to your computer and use it in GitHub Desktop.
Sample Gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' | |
} | |
} | |
apply plugin: 'com.android.application' | |
apply plugin: 'com.neenbedankt.android-apt' | |
apply plugin: 'me.tatarka.retrolambda' | |
apply plugin: 'org.greenrobot.greendao' | |
android { | |
compileSdkVersion 24 | |
buildToolsVersion "24.0.3" | |
defaultConfig { | |
applicationId "com.kgislias.messenger" | |
minSdkVersion 16 | |
targetSdkVersion 24 | |
versionCode 1 | |
versionName "1.0" | |
multiDexEnabled true | |
vectorDrawables.useSupportLibrary = true | |
buildConfigField "int", "LIMIT", "100" | |
buildConfigField "String", "BASEURL", "\"http://www.kgisl.com/\"" | |
buildConfigField "int", "CACHETIME", "432000" | |
} | |
buildTypes { | |
release { | |
minifyEnabled true | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
debug{ | |
debuggable true | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
compileOptions { | |
sourceCompatibility JavaVersion.VERSION_1_8 | |
targetCompatibility JavaVersion.VERSION_1_8 | |
} | |
greendao { | |
schemaVersion 1 | |
targetGenDir 'src/main/java' | |
} | |
} | |
ext.supportLibVersion = '24.2.1' | |
dependencies { | |
compile fileTree(include: ['*.jar'], dir: 'libs') | |
testCompile 'junit:junit:4.12' | |
compile "com.android.support:support-annotations:${supportLibVersion}" | |
compile "com.android.support:recyclerview-v7:${supportLibVersion}" | |
compile "com.android.support:design:${supportLibVersion}" | |
compile "com.android.support:appcompat-v7:${supportLibVersion}" | |
compile "com.android.support:cardview-v7:${supportLibVersion}" | |
compile "com.android.support:customtabs:${supportLibVersion}" | |
compile 'com.jakewharton:butterknife:8.3.0' | |
apt 'com.jakewharton:butterknife-compiler:8.3.0' | |
compile project(':appintro') | |
compile 'com.github.bumptech.glide:glide:3.7.0' | |
compile 'com.github.ozodrukh:CircularReveal:1.1.0' | |
compile 'com.davidecirillo.multichoicerecyclerview:multichoicerecyclerview:1.1.8' | |
compile 'com.google.code.gson:gson:2.6.2' | |
compile 'com.squareup.retrofit2:retrofit:2.1.0' | |
compile 'com.squareup.okhttp3:logging-interceptor:3.4.1' | |
compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0' | |
compile 'com.squareup.retrofit2:converter-gson:2.1.0' | |
compile 'io.reactivex:rxandroid:1.2.1' | |
compile 'io.reactivex:rxjava:1.1.6' | |
apt 'com.google.dagger:dagger-compiler:2.7' | |
compile 'com.google.dagger:dagger:2.7' | |
provided 'javax.annotation:jsr250-api:1.0' | |
compile 'org.greenrobot:greendao:3.2.0' | |
compile 'com.github.jorgecastilloprz:fabprogresscircle:1.01@aar' | |
compile 'com.google.firebase:firebase-messaging:9.4.0' | |
compile 'org.greenrobot:eventbus:3.0.0' | |
/* debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5' | |
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5'*/ | |
} | |
apply plugin: 'com.google.gms.google-services' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment