Reputation: 55
The code in question looks like
applicationVariants.all{ variant ->
if(variant.buildType.name == 'test'){
println 'path res: ' + //need directory path here
}
}
Upvotes: 1
Views: 714
Reputation: 55
variant.mergeResourcesProvider.get().outputDir.get()
seems to return the path I needed. Likewise for mergeAssetsProvider
Upvotes: 2