https://kotlinlang.org logo
#android
Title
# android
o

Orhan Tozan

03/06/2020, 10:41 PM
Hey guys, I'm trying to migrate all of our Android build.gradle files to build.gradle.kts. I'm having a hard time finding the right syntaxes and names, all Android documentation only gives Groovy examples. Is there some documentation where I can find all DSL methods etc.?
How do I write this down in build.gradle.kts?
t

tseisel

03/07/2020, 9:13 AM
dynamicFeatures = listOf(":mymodule")
should work. The brackets syntax in Groovy is a shorthand for defining a list.
v

Vishal Choudhary

03/13/2020, 6:21 AM
Copy code
dynamicFeatures = mutableSetOf(
        ":modulename"
    )
This is how I write it.
3 Views