1plugins { 2 id 'com.android.library' 3 id 'org.jetbrains.kotlin.android' 4} 5 6android { 7 namespace = "com.android.app.motiontool" 8 testNamespace = "com.android.app.motiontool.tests" 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:motiontoollib:motion_tool_proto")) 32 implementation(project(":frameworks:libs:systemui:viewcapturelib:view_capture_proto")) 33 34 api project(":ViewCaptureLib") 35 androidTestImplementation project(':SharedTestLib') 36 androidTestImplementation 'androidx.test.ext:junit:1.1.3' 37 androidTestImplementation "androidx.test:rules:1.4.0" 38}