Created
August 30, 2018 03:47
-
-
Save namphho/6706a6b591b2f13d7ff3f95285311ffd to your computer and use it in GitHub Desktop.
build.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 { | |
maven { url 'https://maven.fabric.io/public' } | |
} | |
dependencies { | |
classpath 'io.fabric.tools:gradle:1.+' | |
} | |
} | |
apply plugin: 'com.android.application' | |
apply plugin: 'io.fabric' | |
repositories { | |
maven { url 'https://maven.fabric.io/public' } | |
} | |
android { | |
compileSdkVersion 27 | |
defaultConfig { | |
applicationId "com.nouslogic.doorlocknonhomekit" | |
minSdkVersion 21 | |
targetSdkVersion 27 | |
versionCode 7 | |
versionName "1.0.4" | |
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
compileOptions { | |
sourceCompatibility JavaVersion.VERSION_1_8 | |
targetCompatibility JavaVersion.VERSION_1_8 | |
} | |
sourceSets { | |
main { | |
res.srcDirs = [ | |
'src/main/res', | |
'src/main/res/layouts', | |
'src/main/res/layouts/row', | |
'src/main/res/layouts/home', | |
'src/main/res/layouts/screen', | |
'src/main/res/layouts/customview', | |
] | |
} | |
} | |
} | |
dependencies { | |
implementation fileTree(include: ['*.jar'], dir: 'libs') | |
testImplementation 'junit:junit:4.12' | |
androidTestImplementation 'com.android.support.test:runner:1.0.2' | |
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' | |
//android support library | |
implementation "com.android.support:appcompat-v7:$rootProject.ext.supportLibVersion" | |
implementation "com.android.support:support-v13:$rootProject.ext.supportLibVersion" | |
implementation "com.android.support:recyclerview-v7:$rootProject.ext.supportLibVersion" | |
implementation "com.android.support:cardview-v7:$rootProject.ext.supportLibVersion" | |
implementation "com.android.support:support-v4:$rootProject.ext.supportLibVersion" | |
implementation "com.android.support:design:$rootProject.ext.supportLibVersion" | |
implementation 'com.android.support.constraint:constraint-layout:1.1.1' | |
//firebase | |
//implementation "com.google.firebase:firebase-core:$rootProject.ext.firebaseVersion" | |
//implementation "com.google.firebase:firebase-messaging:$rootProject.ext.firebaseVersion" | |
implementation ('com.google.firebase:firebase-core:16.0.0') | |
implementation ('com.google.firebase:firebase-messaging:17.0.0') | |
//network library | |
implementation "com.squareup.okhttp3:okhttp:$rootProject.ext.okhttpVersion" | |
implementation "com.squareup.okhttp3:okhttp-urlconnection:$rootProject.ext.okhttpVersion" | |
implementation "com.squareup.okhttp3:logging-interceptor:$rootProject.ext.okhttpVersion" | |
//butter knife | |
implementation "com.jakewharton:butterknife:$rootProject.ext.butterKnifeVersion" | |
annotationProcessor "com.jakewharton:butterknife-compiler:$rootProject.ext.butterKnifeVersion" | |
//dagger | |
implementation "com.google.dagger:dagger:$rootProject.ext.daggerVersion" | |
annotationProcessor "com.google.dagger:dagger-compiler:$rootProject.ext.daggerVersion" | |
//parceler | |
implementation "org.parceler:parceler-api:$rootProject.ext.parcelerVersion" | |
annotationProcessor "org.parceler:parceler:$rootProject.ext.parcelerVersion" | |
//rxjava | |
implementation 'io.reactivex.rxjava2:rxjava:2.1.10' | |
implementation 'io.reactivex.rxjava2:rxandroid:2.0.2' | |
implementation 'com.google.code.gson:gson:2.8.2' | |
implementation 'com.jakewharton.timber:timber:4.5.1' | |
implementation 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.5@aar' | |
implementation 'com.wang.avi:library:2.1.3' | |
implementation project(':blemodule') | |
implementation project(':uibutton') | |
implementation project(':cameraipmodule') | |
implementation project(':tlockview') | |
implementation project(':otamodule') | |
implementation project(':esptouch') | |
compile('com.crashlytics.sdk.android:crashlytics:2.9.2@aar') { | |
transitive = true; | |
} | |
// Room components | |
implementation "android.arch.persistence.room:runtime:$rootProject.roomVersion" | |
annotationProcessor "android.arch.persistence.room:compiler:$rootProject.roomVersion" | |
androidTestImplementation "android.arch.persistence.room:testing:$rootProject.roomVersion" | |
//google play service | |
implementation 'com.google.android.gms:play-services-maps:15.0.1' | |
implementation 'com.google.android.gms:play-services-location:15.0.1' | |
implementation 'com.hbb20:ccp:2.2.2' | |
} | |
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