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) {
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 }
You can’t perform that action at this time.
0 commit comments