Advertisement
yo2man

Adding the API and Compiling it in gradle

Jul 7th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. Adding the API and Compiling it in gradle //almost forgot this
  2.  
  3. apply plugin: 'com.android.application'
  4.  
  5. android {
  6. compileSdkVersion 22
  7. buildToolsVersion "22.0.1"
  8.  
  9. defaultConfig {
  10. applicationId "com.teamtreehouse.stormy"
  11. minSdkVersion 14
  12. targetSdkVersion 22
  13. versionCode 1
  14. versionName "1.0"
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. }
  23.  
  24. dependencies {
  25. compile fileTree(dir: 'libs', include: ['*.jar'])
  26. compile 'com.android.support:appcompat-v7:22.1.1'
  27. compile 'com.squareup.okhttp:okhttp:2.4.0'
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement