Experimenting with migrating a project from `build...
# gradle
r
Experimenting with migrating a project from
build.gradle
to
build.gradle.kts
. Getting the error
com.gradle.scan.plugin.BuildScanExtension cannot be cast to com.gradle.scan.plugin.BuildScanExtension
s
rocketraman: Had the same issue when using
1.7.3
version of plugin.
Upgrade to 0.9.0 fixed the issue
r
@suresh I'm on 0.9.0 as far as I know
Copy code
./gradlew --version
Gradle 4.0-20170518042627+0000
s
what about build-scan plugin version. I am using
Copy code
build-scan.version=1.7.3
  wrapper.version=4.0-20170518042627+0000
and is working fine
r
Same version of
build-scan
here. Weird.
Copy code
plugins {
  id("com.gradle.build-scan") version "1.7.3"
}
s
clear the cache and try again (
rm -rf ~/.gradle/caches/
)
r
That seems to have worked -- the build works at the command line though IJ still shows the buildScan block as an "Unresolved reference"