Can I tall the kotlin plugin to not add the sdlib ...
# announcements
p
Can I tall the kotlin plugin to not add the sdlib for a specific module? I have a module that contains my android lint checks and there no implementation dependencies are allowed but only compileOnly ones.
b
There's a gradle.properties prop to disable that globally
p
Thats why I was asking if there is a way for exclude it for a specific module
b
Check 1.4.0-M3 blogpost, should be mentioned there
p
I don't want to drop the hammer, I want to exclude that one module
b
Ah, my bad. No I don't think there is. Exclude globally and add it where needed explicitly
Or you could try setting that prop from gradlefile of that module as project prop
Might just work
p
Hah, working!
Thanks 🙂
b
Huzzah! 😄
Can you share your gradle snippet here for the future?
p
Copy code
kotlin.stdlib.default.dependency=false