| plugins { |
| id 'com.android.library' |
| id 'org.jetbrains.kotlin.android' |
| } |
| |
| android { |
| namespace = "com.android.app.viewcapture" |
| testNamespace = "com.android.app.viewcapture.test" |
| defaultConfig { |
| testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| } |
| |
| sourceSets { |
| main { |
| java.srcDirs = ['src'] |
| manifest.srcFile 'AndroidManifest.xml' |
| } |
| androidTest { |
| java.srcDirs = ["tests"] |
| manifest.srcFile "tests/AndroidManifest.xml" |
| } |
| } |
| lint { |
| abortOnError false |
| } |
| |
| } |
| |
| dependencies { |
| implementation "androidx.core:core:1.9.0" |
| implementation project(":frameworks:libs:systemui:viewcapturelib:view_capture_proto") |
| androidTestImplementation project(':SharedTestLib') |
| androidTestImplementation 'androidx.test.ext:junit:1.1.3' |
| androidTestImplementation "androidx.test:rules:1.4.0" |
| } |