summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKLint/build.gradle
blob: 92dc253deb2c51ad65f76a55a17ebf1244deb855 (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
apply plugin: 'java-library'
apply plugin: 'kotlin'

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    compileOnly dependenciesList.kotlinLib

    compileOnly dependenciesList.lint
    compileOnly dependenciesList.lintApi
    compileOnly dependenciesList.lintChecks
    compileOnly 'androidx.annotation:annotation:1.0.0'

    testImplementation dependenciesList.junit
    testImplementation dependenciesList.robolectric
    testImplementation dependenciesList.lintTests
}

sourceCompatibility = "1.8"
targetCompatibility = "1.8"

compileKotlin {
    kotlinOptions {
        jvmTarget = "1.8"
    }
}

compileTestKotlin {
    kotlinOptions {
        jvmTarget = "1.8"
    }
}

jar {
    manifest {
        attributes("Lint-Registry-v2": "com.mapbox.mapboxsdk.lint.MapboxIssueRegistry")
    }
}