Sam
03/27/2019, 4:21 PMclean
it is fine until I make a change and rerun my tests. When I run with --info
it appears that one of the files is being detected as modified twice.
> Task :myappcore:compileTestKotlinJvm FAILED
Task ':myappcore:compileTestKotlinJvm' is not up-to-date because:
Input property 'commonSourceSet$kotlin_gradle_plugin' file /source/path/app/myappcore/src/commonTest/kotlin/net/myapp/core/dice/RollStreamTests.kt has changed.
Input property 'source' file /source/path/app/myappcore/src/commonTest/kotlin/net/myapp/core/dice/RollStreamTests.kt has changed.
Using Kotlin/JVM incremental compilation
Options for KOTLIN DAEMON: IncrementalCompilationOptions(
super=CompilationOptions(compilerMode=INCREMENTAL_COMPILER,
targetPlatform=JVM,
reportCategories=[0],
reportSeverity=2,
requestedCompilationResults=[0]),
areFileChangesKnown=true,
modifiedFiles=[
/source/path/app/myappcore/src/commonTest/kotlin/net/myapp/core/dice/RollStreamTests.kt,
/source/path/app/myappcore/src/commonTest/kotlin/net/myapp/core/dice/RollStreamTests.kt],
deletedFiles=[],
workingDir=/source/path/app/myappcore/build/kotlin/compileTestKotlinJvm,
multiModuleICSettings=MultiModuleICSettings(buildHistoryFile=/source/path/app/myappcore/build/kotlin/compileTestKotlinJvm/build-history.bin, useModuleDetection=false),
usePreciseJavaTracking=trueoutputFiles=[
/source/path/app/myappcore/build/classes/kotlin/jvm/test,
/source/path/app/myappcore/build/kotlin/compileTestKotlinJvm])
e: /source/path/app/myappCore/src/commonTest/kotlin/net/myapp/core/dice/RollStreamTests.kt: (5, 7): Redeclaration: RollStreamTests
e: /source/path/app/myappcore/src/commonTest/kotlin/net/myapp/core/dice/RollStreamTests.kt: (5, 7): Redeclaration: RollStreamTests
:myappcore:compileTestKotlinJvm (Thread[Task worker for ':',5,main]) completed. Took 0.44 secs.
This is using eap 45 if that matters. The same issue happened under eap 11 and the latest stable as well .