1plugins { 2 id 'com.android.library' 3 id 'org.jetbrains.kotlin.android' 4} 5 6android { 7 namespace = "com.android.app.viewcapture" 8 testNamespace = "com.android.app.viewcapture.test" 9 defaultConfig { 10 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 11 } 12 13 sourceSets { 14 main { 15 java.srcDirs = ['src'] 16 manifest.srcFile 'AndroidManifest.xml' 17 } 18 androidTest { 19 java.srcDirs = ["tests"] 20 manifest.srcFile "tests/AndroidManifest.xml" 21 } 22 } 23 lint { 24 abortOnError false 25 } 26 27} 28 29dependencies { 30 implementation "androidx.core:core:1.9.0" 31 implementation project(":frameworks:libs:systemui:viewcapturelib:view_capture_proto") 32 androidTestImplementation project(':SharedTestLib') 33 androidTestImplementation 'androidx.test.ext:junit:1.1.3' 34 androidTestImplementation "androidx.test:rules:1.4.0" 35} 36