Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 1.54 KB | None | 0 0
  1. apply plugin: 'com.android.application'
  2.  
  3. apply plugin: 'kotlin-android'
  4.  
  5. apply plugin: 'kotlin-android-extensions'
  6.  
  7. buildscript {
  8.     repositories {
  9.         mavenCentral()
  10.     }
  11. }
  12.  
  13. android {
  14.     compileSdkVersion 28
  15.     defaultConfig {
  16.         applicationId "com.triplepi.projectilemes"
  17.         minSdkVersion 22
  18.         targetSdkVersion 28
  19.         versionCode 1
  20.         versionName "1.0"
  21.         testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  22.     }
  23.     buildTypes {
  24.         release {
  25.             minifyEnabled false
  26.             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  27.         }
  28.     }
  29. }
  30.  
  31. dependencies {
  32.     implementation fileTree(dir: 'libs', include: ['*.jar'])
  33.     implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  34.     implementation 'com.android.support:appcompat-v7:28.0.0'
  35.     implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  36.     testImplementation 'junit:junit:4.12'
  37.     androidTestImplementation 'com.android.support.test:runner:1.0.2'
  38.     androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  39.  
  40.     // retrofit
  41.     implementation 'com.squareup.retrofit2:retrofit:2.1.0'
  42.     implementation 'com.squareup.retrofit2:converter-gson:2.1.0'
  43.  
  44.     // to run JUnit 3/4 tests:
  45.     testImplementation("junit:junit:4.12")
  46.  
  47.     androidTestImplementation 'com.android.support.test:runner:1.0.2'
  48.     androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement