File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ def addMissingAarTypeToXml(xml) {
24
24
" com.google.ads.interactivemedia.v3:interactivemedia" ,
25
25
" com.google.guava:guava" ,
26
26
" com.google.truth:truth" ,
27
+ " com.google.truth.extensions:truth-java8-extension" ,
27
28
" com.squareup.okhttp3:okhttp" ,
28
29
" com.squareup.okhttp3:mockwebserver" ,
29
30
" org.mockito:mockito-core" ,
@@ -77,6 +78,11 @@ def addMissingAarTypeToXml(xml) {
77
78
(isProjectLibrary
78
79
|| aar_dependencies. contains(dependencyName))
79
80
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.
80
86
throw new IllegalStateException (
81
87
dependencyName + " is not on the JAR or AAR list in missing_aar_type_workaround.gradle" )
82
88
}
You can’t perform that action at this time.
0 commit comments