Advertisement
Guest User

app/build.gradle

a guest
Dec 19th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 1.38 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. android {
  8.     def ext = rootProject.ext
  9.     compileSdkVersion ext.androidCompileSdkVersion
  10.     buildToolsVersion ext.androidBuildToolsVersion
  11.     defaultConfig {
  12.         applicationId "ru.boronin.cardtasker"
  13.         minSdkVersion ext.androidMinSdkVersion
  14.         targetSdkVersion ext.androidTargetSdkVersion
  15.         versionCode 1
  16.         versionName "1.0"
  17.         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  18.     }
  19.     buildTypes {
  20.         release {
  21.             minifyEnabled false
  22.             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  23.         }
  24.     }
  25. }
  26.  
  27. dependencies {
  28.     def dependencies = rootProject.ext.dependencies
  29.     def developmentDependencies = rootProject.ext.developmentDependencies
  30.     def testDependencies = rootProject.ext.testDependencies
  31.  
  32.     implementation fileTree(dir: 'libs', include: ['*.jar'])
  33.  
  34.     implementation developmentDependencies.kotlinStdlibJdk7
  35.     implementation dependencies.appcompat
  36.     implementation developmentDependencies.coreKtx
  37.     implementation dependencies.constraintlayout
  38.  
  39.     testImplementation testDependencies.junit
  40.     androidTestImplementation testDependencies.androidJunit
  41.     androidTestImplementation testDependencies.espresso
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement