1package { 2 default_team: "trendy_team_enterprise", 3 default_applicable_licenses: ["Android-Apache-2.0"], 4} 5 6android_library { 7 name: "QueryableCommonAndroid", 8 static_libs: [ 9 "NeneCommonAndroid", 10 "auto_value_annotations", 11 ], 12 srcs: [ 13 "common/src/main/java/**/*.java", 14 "common/src/main/java/**/*.kt", 15 ], 16 manifest: "src/main/AndroidManifest.xml", 17 sdk_version: "current", 18 min_sdk_version: "29", 19 plugins: ["auto_annotation_plugin"], 20} 21 22android_library { 23 name: "Queryable", 24 sdk_version: "test_current", 25 srcs: [ 26 "src/main/java/**/*.java", 27 "src/main/java/**/*.kt", 28 ], 29 static_libs: [ 30 "androidx.test.ext.junit", 31 "QueryableCommonAndroid", 32 ], 33 manifest: "src/main/AndroidManifest.xml", 34 min_sdk_version: "29", 35 plugins: ["auto_annotation_plugin"], 36} 37 38android_test { 39 name: "BedsteadQueryableTest", 40 srcs: [ 41 "src/test/java/**/*.java", 42 "src/test/java/**/*.kt", 43 ], 44 test_suites: [ 45 "general-tests", 46 ], 47 static_libs: [ 48 "Nene", 49 "Harrier", 50 "Queryable", 51 "ActivityContext", 52 "androidx.test.ext.junit", 53 "ctstestrunner-axt", 54 "truth", 55 "testng", // for assertThrows 56 ], 57 manifest: "src/test/AndroidManifest.xml", 58 min_sdk_version: "29", 59} 60