Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- buildscript {
- ext.kotlin_version = '1.3.61'
- repositories {
- google()
- jcenter()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:3.5.3'
- classpath 'com.google.gms:google-services:4.3.3'
- classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- }
- }
- allprojects {
- repositories {
- mavenCentral()
- google()
- jcenter()
- maven { url "https://jitpack.io" }
- }
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
- ---------------------------------------------------------------
- apply plugin: 'com.android.library'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- apply plugin: 'com.github.dcendents.android-maven'
- repositories {
- mavenCentral()
- google()
- jcenter()
- maven { url "https://jitpack.io" }
- }
- group = 'com.github.SzGajdzica'
- version = '1.5.2'
- android {
- compileSdkVersion 29
- buildToolsVersion "29.0.2"
- defaultConfig {
- minSdkVersion 17
- targetSdkVersion 29
- versionCode 1
- versionName version
- resConfigs "en", "de", "es", "fr", "hi", "in", "it", "ja", "ko", "pt", "ru", "tr"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility = 1.8
- targetCompatibility = 1.8
- }
- kotlinOptions {
- jvmTarget = "1.8"
- }
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- implementation "androidx.preference:preference:1.1.0"
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
- implementation 'com.google.android.material:material:1.1.0'
- implementation 'androidx.core:core-ktx:1.2.0'
- implementation 'com.google.android.gms:play-services-ads:18.3.0'
- implementation 'com.google.android.gms:play-services-location:17.0.0'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement