all {
languageSettings.optIn("androidx.compose.ui.ExperimentalComposeUiApi")
}
to the sourceSets. The real problem was that I picked the wrong optIn because they are using different ones in the examples.
The code compiles and runs now but mouse wheel scrolling still does not seem to work. The reported value is always zero.