Advertisement
morakan

Untitled

Feb 28th, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2.  
  3. buildscript {
  4. ext.kotlin_version = '1.3.61'
  5. repositories {
  6. google()
  7. jcenter()
  8. }
  9. dependencies {
  10. classpath 'com.android.tools.build:gradle:3.5.3'
  11. classpath 'com.google.gms:google-services:4.3.3'
  12. classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
  13. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  14. }
  15. }
  16.  
  17. allprojects {
  18. repositories {
  19. mavenCentral()
  20. google()
  21. jcenter()
  22. maven { url "https://jitpack.io" }
  23. }
  24. }
  25.  
  26. task clean(type: Delete) {
  27. delete rootProject.buildDir
  28. }
  29.  
  30.  
  31.  
  32.  
  33.  
  34. ---------------------------------------------------------------
  35.  
  36. apply plugin: 'com.android.library'
  37. apply plugin: 'kotlin-android'
  38. apply plugin: 'kotlin-android-extensions'
  39. apply plugin: 'com.github.dcendents.android-maven'
  40.  
  41. repositories {
  42. mavenCentral()
  43. google()
  44. jcenter()
  45. maven { url "https://jitpack.io" }
  46. }
  47.  
  48. group = 'com.github.SzGajdzica'
  49. version = '1.5.2'
  50.  
  51. android {
  52. compileSdkVersion 29
  53. buildToolsVersion "29.0.2"
  54. defaultConfig {
  55. minSdkVersion 17
  56. targetSdkVersion 29
  57. versionCode 1
  58. versionName version
  59. resConfigs "en", "de", "es", "fr", "hi", "in", "it", "ja", "ko", "pt", "ru", "tr"
  60. }
  61. buildTypes {
  62. release {
  63. minifyEnabled false
  64. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  65. }
  66. }
  67. compileOptions {
  68. sourceCompatibility = 1.8
  69. targetCompatibility = 1.8
  70. }
  71. kotlinOptions {
  72. jvmTarget = "1.8"
  73. }
  74. }
  75.  
  76. dependencies {
  77. implementation fileTree(dir: 'libs', include: ['*.jar'])
  78. implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  79.  
  80. implementation "androidx.preference:preference:1.1.0"
  81. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  82. implementation 'com.google.android.material:material:1.1.0'
  83. implementation 'androidx.core:core-ktx:1.2.0'
  84.  
  85. implementation 'com.google.android.gms:play-services-ads:18.3.0'
  86. implementation 'com.google.android.gms:play-services-location:17.0.0'
  87. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement