I think it went like project.something("android")....
# gradle
u
I think it went like project.something("android").lintOptions = ..
v
One option is to create a custom gradle plugin and apply it to all projects where you need these lintOptions.
There's a good talk on how to do that here

https://www.youtube.com/watch?v=sQC9-Rj2yLI

u
feels a bit like a overkill but thank you
v
Fair enough, you could always try something like this instead. In your top level build.gradle file. Note this is using groovy not kotlin
Copy code
subprojects {
   
     plugins.withId('android') {
       android {
          lintOptions {
                // Configure your lint options here
          }
       }
     }
}