Skip to content

Instantly share code, notes, and snippets.

@Ayyagaries
Created April 16, 2018 17:51
Show Gist options
  • Save Ayyagaries/22d769c20871120dfc24cc89582f67f8 to your computer and use it in GitHub Desktop.
Save Ayyagaries/22d769c20871120dfc24cc89582f67f8 to your computer and use it in GitHub Desktop.
gradle.build file
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
defaultConfig {
applicationId "com.example.apicall.testapp"
minSdkVersion 25
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
dependencies {
compile 'com.squareup.okhttp3:okhttp:3.10.0'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment