aboutsummaryrefslogtreecommitdiff
path: root/integration_tests/agp/build.gradle
blob: 71b9e74f7befd85a2c85c455099225b9dea43a72 (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
import org.robolectric.gradle.AndroidProjectConfigPlugin

apply plugin: 'com.android.library'
apply plugin: AndroidProjectConfigPlugin

android {
    compileSdk 34
    namespace 'org.robolectric.integrationtests.agp'

    defaultConfig {
        minSdk 19
        targetSdk 34
    }

    compileOptions {
        sourceCompatibility = '1.8'
        targetCompatibility = '1.8'
    }

    testOptions.unitTests.includeAndroidResources true
}

dependencies {
    // Testing dependencies
    testImplementation project(":testapp")
    testImplementation project(":robolectric")
    testImplementation project(":integration_tests:agp:testsupport")

    testImplementation libs.junit4
    testImplementation libs.androidx.test.core
    testImplementation libs.androidx.test.runner
    testImplementation libs.androidx.test.ext.junit
}