Versioned Settings doesn't work

I'm getting the below error when I enable Versioned Settings. I'm clueless and I'm not a Java/Kotlin developer.

Failed to apply changes from VCS to project settings (revision cb72a7bfb5e46f1afecf7ea382e9a541a0e4a6a8): Kotlin DSL compilation errors. Please fix the errors in the script and make a new commit.

settings.kts [4:64]: Unresolved reference: powerShell

settings.kts [28:1]: Unresolved reference: version

settings.kts [30:1]: Unresolved reference: project

settings.kts [32:5]: Unresolved reference: buildType

settings.kts [35:18]: Unresolved reference: BuildType

settings.kts [36:5]: Unresolved reference: name

settings.kts [38:5]: Unresolved reference: params

settings.kts [39:9]: Unresolved reference: param

settings.kts [40:9]: Unresolved reference: param

settings.kts [41:9]: Unresolved reference: param

settings.kts [42:9]: Unresolved reference: param

settings.kts [45:5]: Unresolved reference: vcs

settings.kts [46:9]: Expression 'root' cannot be invoked as a function. The function 'invoke()' is not found

settings.kts [46:9]: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: internal val File.root: File defined in kotlin.io

settings.kts [46:14]: Unresolved reference: DslContext

settings.kts [49:5]: Unresolved reference: steps

settings.kts [50:9]: Unresolved reference: powerShell

settings.kts [51:13]: Unresolved reference: name

settings.kts [52:13]: Unresolved reference: scriptMode

settings.kts [52:26]: Unresolved reference: script

settings.kts [53:17]: Unresolved reference: content

 

0

Please sign in to leave a comment.