Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
15d24ab3
authored
Apr 19, 2023
by
rohks
Committed by
Rohit Singh
Apr 19, 2023
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Add `com.google.truth.extensions:truth-java8-extension` to JAR list
PiperOrigin-RevId: 525415067
parent
4d97f498
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
missing_aar_type_workaround.gradle
missing_aar_type_workaround.gradle
View file @
15d24ab3
...
@@ -24,6 +24,7 @@ def addMissingAarTypeToXml(xml) {
...
@@ -24,6 +24,7 @@ def addMissingAarTypeToXml(xml) {
"com.google.ads.interactivemedia.v3:interactivemedia"
,
"com.google.ads.interactivemedia.v3:interactivemedia"
,
"com.google.guava:guava"
,
"com.google.guava:guava"
,
"com.google.truth:truth"
,
"com.google.truth:truth"
,
"com.google.truth.extensions:truth-java8-extension"
,
"com.squareup.okhttp3:okhttp"
,
"com.squareup.okhttp3:okhttp"
,
"com.squareup.okhttp3:mockwebserver"
,
"com.squareup.okhttp3:mockwebserver"
,
"org.mockito:mockito-core"
,
"org.mockito:mockito-core"
,
...
@@ -77,6 +78,11 @@ def addMissingAarTypeToXml(xml) {
...
@@ -77,6 +78,11 @@ def addMissingAarTypeToXml(xml) {
(
isProjectLibrary
(
isProjectLibrary
||
aar_dependencies
.
contains
(
dependencyName
))
||
aar_dependencies
.
contains
(
dependencyName
))
if
(!
hasJar
&&
!
hasAar
)
{
if
(!
hasJar
&&
!
hasAar
)
{
// To look for what kind of dependency it is i.e. aar or jar type,
// please expand the External Libraries in Project view in Android Studio
// and search for your dependency inside Gradle Script dependencies.
// .aar files have @aar suffix at the end of their name,
// while .jar files have nothing.
throw
new
IllegalStateException
(
throw
new
IllegalStateException
(
dependencyName
+
" is not on the JAR or AAR list in missing_aar_type_workaround.gradle"
)
dependencyName
+
" is not on the JAR or AAR list in missing_aar_type_workaround.gradle"
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment