From 51acbc62be153217801cbbabfc736d91ff7a74bb Mon Sep 17 00:00:00 2001 From: Aurimas Liutikas Date: Wed, 26 Jun 2019 15:33:44 -0700 Subject: Move several core libraries back to Java 7 Moving: androidx.annotation androidx.core androidx.collection androidx.versionedparcelable Bug: 135942802 Test: ./gradlew assembleDebug assembleAndroidTest Change-Id: I7ec942eaf60c9d5d9b22d9bba7bba4344f7cd609 --- annotations/build.gradle | 3 +++ 1 file changed, 3 insertions(+) (limited to 'annotations') diff --git a/annotations/build.gradle b/annotations/build.gradle index 38357afcafc..0d33b794e1a 100644 --- a/annotations/build.gradle +++ b/annotations/build.gradle @@ -7,6 +7,9 @@ plugins { id("java") } +targetCompatibility = JavaVersion.VERSION_1_7 +sourceCompatibility = JavaVersion.VERSION_1_7 + jar { from sourceSets.main.output // Strip out typedef classes. For Android libraries, this is done -- cgit v1.2.3