Skip to content

Commit 296c50e

Browse files
committed
Add com.google.truth.extensions:truth-java8-extension to JAR list
PiperOrigin-RevId: 525415067 (cherry picked from commit 15d24ab)
1 parent bf7f6d2 commit 296c50e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

missing_aar_type_workaround.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def addMissingAarTypeToXml(xml) {
2424
"com.google.ads.interactivemedia.v3:interactivemedia",
2525
"com.google.guava:guava",
2626
"com.google.truth:truth",
27+
"com.google.truth.extensions:truth-java8-extension",
2728
"com.squareup.okhttp3:okhttp",
2829
"com.squareup.okhttp3:mockwebserver",
2930
"org.mockito:mockito-core",
@@ -77,6 +78,11 @@ def addMissingAarTypeToXml(xml) {
7778
(isProjectLibrary
7879
|| aar_dependencies.contains(dependencyName))
7980
if (!hasJar && !hasAar) {
81+
// To look for what kind of dependency it is i.e. aar or jar type,
82+
// please expand the External Libraries in Project view in Android Studio
83+
// and search for your dependency inside Gradle Script dependencies.
84+
// .aar files have @aar suffix at the end of their name,
85+
// while .jar files have nothing.
8086
throw new IllegalStateException(
8187
dependencyName + " is not on the JAR or AAR list in missing_aar_type_workaround.gradle")
8288
}

0 commit comments

Comments
 (0)