Created
January 4, 2018 20:23
-
-
Save teburd/e5a855b7c79467247d12c4867f11668c to your computer and use it in GitHub Desktop.
build.gradle
This file contains hidden or 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
apply plugin: 'com.android.library' | |
android { | |
compileSdkVersion 26 | |
buildToolsVersion '26.0.2' | |
defaultConfig { | |
minSdkVersion 16 | |
targetSdkVersion 26 | |
versionCode 1 | |
versionName "1.0" | |
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | |
} | |
buildTypes { | |
debug { | |
minifyEnabled true | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
release { | |
minifyEnabled true | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
packagingOptions { | |
pickFirst 'protobuf.meta' | |
} | |
} | |
dependencies { | |
implementation 'com.android.support.constraint:constraint-layout:1.0.2' | |
implementation 'com.android.support:design:26.1.0' | |
implementation 'com.android.support:appcompat-v7:26.1.0' | |
implementation 'com.google.protobuf:protobuf-java:3.3.0' | |
implementation 'com.google.android.gms:play-services-base:11.8.0' | |
implementation 'com.squareup.okhttp3:okhttp:3.7.0' | |
testImplementation 'junit:junit:4.12' | |
testImplementation 'org.robolectric:robolectric:3.5.1' | |
testImplementation 'com.squareup.okhttp3:mockwebserver:3.7.0' | |
testImplementation 'org.hamcrest:hamcrest-library:1.3' | |
androidTestCompile 'com.android.support.test.espresso:espresso-core:3.0.1' | |
androidTestCompile 'com.android.support.test:runner:1.0.1' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment