summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKLint/build.gradle
blob: 855e1bc7caef0f24907034f83a128c5c59038678 (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 dependenciesList.supportAnnotations

    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")
    }
}