hey how do you opt into the new IR backend , for a multi module android project
s
samuel
04/07/2021, 5:15 PM
Copy code
android {
kotlinOptions {
useIR = true
}
}
Apply this to your modules
r
rkeazor
04/07/2021, 5:42 PM
sigh there is no way to just apply it globally?
s
samuel
04/07/2021, 5:53 PM
Maybe there is a way, but this is how i did it. My setup is such that i have a common gradle file that i use for settings like this that will be common to all library modules, so i only have to declare this in two places (common + app)