aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-03-08 04:09:17 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-03-08 04:09:17 +0000
commitf78693dbbba6fb5eabc32eb296abfe85d4e019b3 (patch)
tree6e17a58424146f45ae6fb2840e3ee3d5525a2828
parentb881e13a4873220a1c8288451fee9d03101d459c (diff)
parent072c31e50ffef067b13057918b5311cec32a5ecb (diff)
downloadjacoco-android14-release.tar.gz
Change-Id: I1f7097dfe01cea169468ed5afde1cd02720a168f
-rw-r--r--Android.bp11
1 files changed, 11 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 89e024a8..98a9da32 100644
--- a/Android.bp
+++ b/Android.bp
@@ -90,6 +90,14 @@ java_library {
"org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/JmxRegistration.java",
],
},
+ host: {
+ dist: {
+ targets: [
+ "dist_files",
+ "apps_only",
+ ],
+ },
+ }
},
// In order to include Jacoco in core libraries, we cannot depend on
@@ -153,6 +161,9 @@ java_library_host {
"apps_only",
],
},
+
+ // b/267831518: Pin tradefed and dependencies to Java 11.
+ java_version: "11",
}
java_library_host {