https://kotlinlang.org logo
#announcements
Title
# announcements
p

Paul Woitaschek

08/19/2020, 9:27 AM
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

Big Chungus

08/19/2020, 9:29 AM
There's a gradle.properties prop to disable that globally
p

Paul Woitaschek

08/19/2020, 9:29 AM
Thats why I was asking if there is a way for exclude it for a specific module
b

Big Chungus

08/19/2020, 9:29 AM
Check 1.4.0-M3 blogpost, should be mentioned there
p

Paul Woitaschek

08/19/2020, 9:30 AM
I don't want to drop the hammer, I want to exclude that one module
b

Big Chungus

08/19/2020, 9:30 AM
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

Paul Woitaschek

08/19/2020, 9:33 AM
Hah, working!
Thanks 🙂
b

Big Chungus

08/19/2020, 9:33 AM
Huzzah! 😄
Can you share your gradle snippet here for the future?
p

Paul Woitaschek

08/19/2020, 9:36 AM
Copy code
kotlin.stdlib.default.dependency=false