Chenai Nakam
11/11/2023, 4:51 PMproject.dependencies.add("${variant.name}CompileOnly", project.files(
processRes.outputs.files.find {
it.path.endsWith("${variant.name}/R.jar")
})
)
So i guess there must be some mechanism behind compileOnly (just change appRJarConfName to "${variant.name}CompileOnly" and it works fine).
Thread in Slack Conversation