file, so I could have the whole project configuration in one file and dependencies listed in the second?
m
Mikołaj Kąkol
12/24/2019, 8:16 AM
you could use
Copy code
apply(from = "other.gradle.kts")
after plugins section
g
gildor
12/24/2019, 8:49 AM
Apply is not so easy with kts, you can use almost nothing because you don't have type safe accessors, it's not big problem for dependencies, you can use dynamic syntax for configurations:
Copy code
"api"("some:dep:1.0")
😱 1
gildor
12/24/2019, 8:50 AM
But essentially the only good solution is to use buildSrc with custom plugins
gildor
12/24/2019, 8:50 AM
Also #C19FD9681
h
Hanno
12/24/2019, 9:46 AM
Google buildSrc and kotlin preconpiled buildscripts, super nice, i use it often to achieve what you seem to want :)