• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import org.robolectric.gradle.AndroidProjectConfigPlugin
2
3apply plugin: 'com.android.library'
4apply plugin: AndroidProjectConfigPlugin
5
6android {
7    compileSdk 33
8    namespace 'org.robolectric.integrationtests.agp'
9
10    defaultConfig {
11        minSdk 16
12        targetSdk 33
13    }
14
15    compileOptions {
16        sourceCompatibility = '1.8'
17        targetCompatibility = '1.8'
18    }
19
20    testOptions.unitTests.includeAndroidResources true
21}
22
23dependencies {
24    // Testing dependencies
25    testImplementation project(path: ':testapp')
26    testImplementation project(":robolectric")
27    testImplementation project(":integration_tests:agp:testsupport")
28
29    testImplementation libs.junit4
30    testImplementation libs.androidx.test.core
31    testImplementation libs.androidx.test.runner
32    testImplementation libs.androidx.test.ext.junit
33}
34