Abhilash Mandaliya
01/24/2025, 6:40 AMsairaham@kotlin-dev-ThinkPad-P53:~/workspace/kotlin-dev-connect$ ./gradlew build -x test
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
* Where:
Build file '/home/sairaham/workspace/kotlin-dev-connect/build.gradle.kts' line: 57
* What went wrong:
Class org.jetbrains.kotlin.cli.common.CompilerSystemProperties does not have member field 'org.jetbrains.kotlin.cli.common.CompilerSystemProperties COMPILE_INCREMENTAL_WITH_ARTIFACT_TRANSFORM'
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.
BUILD FAILED in 6s
5 actionable tasks: 1 executed, 4 up-to-date
I have no clue what is wrong here. Google search also didn't help with it. Any help is greatly appreciated 🙏CLOVIS
02/02/2025, 7:13 PMassemble
instead build -x test
, but that's not your problem
build
is an alias for assemble check
and check
is an alias for test
and maybe other tasks like lint
. So build -x test
means "I want you to do assemble
and test
but not `test`" which is confusing (though it should work without issues)CLOVIS
02/02/2025, 7:14 PMAbhilash Mandaliya
02/06/2025, 8:51 AMKotlinCompilerVersion: 2.0.21
KotlinPluginWrapper Implementation Version: 1.9.25-release-852