Hey! I'm having this problem where the compiler c...
# tornadofx
a
Hey! I'm having this problem where the compiler can't see the
javafx.beans.binding
package, so when I type something like this:
Copy code
class Classification(...) {
    val uiMode: ObjectProperty<UiMode> = SimpleObjectProperty(...)
}

class ClassificationsViewModel : ItemViewModel<Classification>(...) {
    val uiMode = bind(UiClassification::uiMode)
}

viewModel.uiMode.isEqualTo(UiMode.NEW)
I get an
Unresolved reference
error on
isEqualTo
. This's what my
build.gradle
looks like:
Copy code
plugins {
    id 'org.jetbrains.kotlin.jvm'
    id 'application'
}

repositories {
    mavenCentral()
}

application {
    mainClassName = "..."
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
    implementation 'no.tornado:tornadofx:1.7.20'
}

compileKotlin {
    kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
    kotlinOptions.jvmTarget = "1.8"
}