Advertisement
Guest User

build.gradle

a guest
Jun 20th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 2.08 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. ext {
  8.     android_components_version = '0.28.0'
  9.     geckoview_version = "67.0.20190613202504"
  10. }
  11.  
  12. android {
  13.     compileSdkVersion 28
  14.     buildToolsVersion "29.0.0"
  15.     defaultConfig {
  16.         applicationId "com.gorrotowi.webviewsample"
  17.         minSdkVersion 21
  18.         targetSdkVersion 28
  19.         versionCode 1
  20.         versionName "1.0"
  21.         testInstrumentationRunner "androidx.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.     compileOptions {
  31.         sourceCompatibility JavaVersion.VERSION_1_8
  32.         targetCompatibility JavaVersion.VERSION_1_8
  33.     }
  34.  
  35.     flavorDimensions "abi"
  36.  
  37.     productFlavors {
  38.         x86 { dimension "abi" }
  39.         x86_64 { dimension "abi" }
  40.         arm { dimension "abi" }
  41.         aarch64 { dimension "abi" }
  42.     }
  43.  
  44. }
  45.  
  46. dependencies {
  47.     implementation fileTree(dir: 'libs', include: ['*.jar'])
  48.     implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  49.     implementation 'androidx.appcompat:appcompat:1.0.2'
  50.     implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  51.  
  52.     implementation "org.mozilla.components:concept-engine:0.56.5"
  53.     implementation "org.mozilla.components:browser-engine-system:0.56.5"
  54.     implementation 'org.mozilla.components:browser-engine-gecko:0.56.5'
  55.  
  56.     testImplementation 'junit:junit:4.12'
  57.     androidTestImplementation 'androidx.test:runner:1.2.0'
  58.     androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  59.     x86Implementation "org.mozilla.geckoview:geckoview-x86:${geckoview_version}"
  60.     x86_64Implementation  "org.mozilla.geckoview:geckoview-x86_64:${geckoview_version}"
  61.     armImplementation     "org.mozilla.geckoview:geckoview-armeabi-v7a:${geckoview_version}"
  62.     aarch64Implementation "org.mozilla.geckoview:geckoview-arm64-v8a:${geckoview_version}"
  63. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement