Dominaezzz
05/26/2019, 9:56 PMsourceSets
function's receiver be changed from NamedDomainObjectContainer<KotlinSourceSet>
to NamedDomainObjectContainerScope<KotlinSourceSet>
? (Or just delete the function altogether since the object is available)
It allows for "commonMain" { }
also, instead of just val commonMain by getting { }
.Dominaezzz
05/26/2019, 10:00 PMsourceSets.invoke { }
.gildor
05/26/2019, 11:30 PMgildor
05/26/2019, 11:31 PMDominaezzz
05/26/2019, 11:32 PMDominaezzz
05/26/2019, 11:32 PMgildor
05/26/2019, 11:33 PMgildor
05/26/2019, 11:34 PMDominaezzz
05/26/2019, 11:36 PMDominaezzz
05/26/2019, 11:36 PMinvoke
the correct way to get scope?gildor
05/26/2019, 11:36 PMDominaezzz
05/26/2019, 11:37 PMgildor
05/26/2019, 11:37 PMsourceSet {}
should workgildor
05/26/2019, 11:38 PMDominaezzz
05/26/2019, 11:38 PMgildor
05/26/2019, 11:39 PMnamed("something")
it lazy, not something really important, just good style to use lazy configurations everywhetegildor
05/26/2019, 11:41 PMgildor
05/26/2019, 11:41 PMgildor
05/26/2019, 11:42 PMDominaezzz
05/26/2019, 11:45 PMgildor
05/27/2019, 12:40 AMgildor
05/27/2019, 12:41 AM