Kelvin Chung
10/13/2023, 10:36 PMval service = project.gradle.sharedServices.registrations.named<BuildServiceRegistration<MyService, *>>("myService").flatMap { it.getService } // OK
val service2 = project.gradle.sharedServices.registrations.named<BuildServiceRegistration<MyService, *>>("myService").flatMap { it.service } // Error
Both of these should be Provider<MyService>
, but the second one errors due to not having type information on the parameters object or somesuch. Why is that?