twisterrob
07/03/2025, 5:43 PMfoo { bar() } where fun bar() has a @RequiresOptIn, and I don't want to add @OptIn(ExperimentalFooBar::class) on every single usage scattered around in build.gradle.kts files. The only workaround I can think of is to create a wrapping function like: fun Foo.barOptedIn() = @OptIn(...) bar()
Am I missing something or is it not possible to globally opt in without changing all the files?Vladimir Sitnikov
07/03/2025, 5:50 PMtwisterrob
07/03/2025, 5:51 PMwithout changing all the files?
Vladimir Sitnikov
07/03/2025, 6:03 PMtwisterrob
07/03/2025, 6:11 PMVladimir Sitnikov
07/03/2025, 6:15 PMVampire
07/03/2025, 8:07 PMtwisterrob
07/03/2025, 8:16 PMtwisterrob
07/03/2025, 8:17 PMVampire
07/03/2025, 8:22 PMVampire
07/03/2025, 8:23 PMVampire
07/03/2025, 8:24 PMVampire
07/03/2025, 8:25 PMtwisterrob
07/03/2025, 8:25 PMVampire
07/03/2025, 8:26 PMVampire
07/03/2025, 8:26 PMtwisterrob
07/03/2025, 8:27 PM