Im converting my build.gradle into build.gradle.kts DSL. So far the conversion was smooth. But im stuck when it comes to flavour dependency before in groovy I used :
nameofflavourImplementation "some.dependency:1.0.0"
i read a lot about how to do this, no luck with this for example:
val nameofflavour by configurations.creating
nameofflavour(group="",name="some.dependency:1.0.0",ext = "aar")
this cause a compile error that the configuration is not known.
Im using gradle: 6.4.1
EDIT:
productFlavors {
create("nameofflavour") {
dimension = "full"
applicationId = "com.someid.android"
}
Anyone can help me here?