summaryrefslogtreecommitdiff
path: root/platform/android/build.gradle
blob: 5c63d3c65aa816d0e8a37ef736685fe91470cfc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
buildscript { 
    ext.kotlin_version = '1.3.31'

    apply from: "${rootDir}/gradle/dependencies.gradle"

    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.4.1'
        classpath dependenciesList.licensesPlugin
        classpath dependenciesList.kotlinPlugin
        classpath dependenciesList.bintrayPlugin
        classpath dependenciesList.artifactoryPlugin
        classpath dependenciesList.androidPublishPlugin
        classpath dependenciesList.jacocoPlugin
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" }
}

allprojects {
    repositories {
        mavenCentral()
        google()
        jcenter()
        // For publishing Maps SDK files to Bintray
        maven { url 'https://mapbox.bintray.com/mapbox' }
        // Snapshot repository
        // maven { url 'https://oss.jfrog.org/artifactory/oss-snapshot-local/' }
    }
}

subprojects {
    apply from: "${rootDir}/gradle/dependencies.gradle"
}

// Load build system information. If this file does not exist, run
// `make platform/android/gradle/configuration.gradle`
apply from: "${rootDir}/gradle/configuration.gradle"
apply from: "${rootDir}/gradle/download-schema.gradle"