Guest User

Untitled

a guest
Nov 19th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 26
  4. defaultConfig {
  5. applicationId "com.example.myapplication"
  6. minSdkVersion 15
  7. targetSdkVersion 26
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. }
  19.  
  20. dependencies {
  21. implementation fileTree(dir: 'libs', include: ['*.jar'])
  22. implementation 'com.android.support:appcompat-v7:26.1.0'
  23. implementation 'com.android.support:design:26.1.0'
  24. testImplementation 'junit:junit:4.12'
  25. androidTestImplementation 'com.android.support.test:runner:1.0.1'
  26. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  27. }
  28.  
  29. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  30. buildscript {
  31.  
  32. repositories {
  33. google()
  34. jcenter()
  35. }
  36. dependencies {
  37. classpath 'com.android.tools.build:gradle:3.0.0'
  38.  
  39.  
  40. // NOTE: Do not place your application dependencies here; they belong
  41. // in the individual module build.gradle files
  42. }
  43. }
  44.  
  45. allprojects {
  46. repositories {
  47. google()
  48. jcenter()
  49. }
  50. }
  51.  
  52. task clean(type: Delete) {
  53. delete rootProject.buildDir
  54. }
Add Comment
Please, Sign In to add comment