Skip to content

Commit

Permalink
Fix react-native 0.72 android release error (#1577)
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviodamaiajr authored Dec 14, 2023
1 parent 61977f9 commit e9cc589
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions fonts.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@ afterEvaluate {

android.applicationVariants.all { def variant ->
def targetName = variant.name.capitalize()

def lintVitalAnalyzeTask = tasks.findByName("lintVitalAnalyze${targetName}")

if (lintVitalAnalyzeTask) {
lintVitalAnalyzeTask.dependsOn(fontCopyTask)
}

def generateAssetsTask = tasks.findByName("generate${targetName}Assets")
generateAssetsTask.dependsOn(fontCopyTask)

def lintVitalAnalyzeTask = tasks.findByName("lintVitalAnalyze${targetName}")
lintVitalAnalyzeTask?.dependsOn(fontCopyTask)
}
}
}

0 comments on commit e9cc589

Please sign in to comment.