Files
NowChessSystems/.idea/copilotDiffState.xml
T
Janis f6f05ff2a1 refactor(io): change GameContextImport return type from Option to Either
Update GameContextImport trait to return Either[String, GameContext] instead of
Option[GameContext] to provide better error context during parsing. Update FenParser
implementation to convert Option to Either using toRight().

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 12:33:13 +02:00

18 lines
7.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CopilotDiffPersistence">
<option name="pendingDiffs">
<map>
<entry key="$PROJECT_DIR$/modules/ui/build.gradle.kts">
<value>
<PendingDiffInfo>
<option name="filePath" value="$PROJECT_DIR$/modules/ui/build.gradle.kts" />
<option name="originalContent" value="plugins {&#10; id(&quot;scala&quot;)&#10; id(&quot;org.scoverage&quot;)&#10; application&#10;}&#10;&#10;group = &quot;de.nowchess&quot;&#10;version = &quot;1.0-SNAPSHOT&quot;&#10;&#10;@Suppress(&quot;UNCHECKED_CAST&quot;)&#10;val versions = rootProject.extra[&quot;VERSIONS&quot;] as Map&lt;String, String&gt;&#10;&#10;repositories {&#10; mavenCentral()&#10;}&#10;&#10;scala {&#10; scalaVersion = versions[&quot;SCALA3&quot;]!!&#10;}&#10;&#10;scoverage {&#10; scoverageVersion.set(versions[&quot;SCOVERAGE&quot;]!!)&#10; excludedPackages.set(listOf(&#10; &quot;de.nowchess.ui.gui&quot;&#10; ))&#10;}&#10;&#10;application {&#10; mainClass.set(&quot;de.nowchess.ui.Main&quot;)&#10;}&#10;&#10;tasks.withType&lt;ScalaCompile&gt; {&#10; scalaCompileOptions.additionalParameters = listOf(&quot;-encoding&quot;, &quot;UTF-8&quot;)&#10;}&#10;&#10;tasks.named&lt;JavaExec&gt;(&quot;run&quot;) {&#10; jvmArgs(&quot;-Dfile.encoding=UTF-8&quot;, &quot;-Dstdout.encoding=UTF-8&quot;, &quot;-Dstderr.encoding=UTF-8&quot;)&#10; standardInput = System.`in`&#10;}&#10;&#10;dependencies {&#10;&#10; implementation(&quot;org.scala-lang:scala3-compiler_3&quot;) {&#10; version {&#10; strictly(versions[&quot;SCALA3&quot;]!!)&#10; }&#10; }&#10; implementation(&quot;org.scala-lang:scala3-library_3&quot;) {&#10; version {&#10; strictly(versions[&quot;SCALA3&quot;]!!)&#10; }&#10; }&#10;&#10; implementation(project(&quot;:modules:core&quot;))&#10; implementation(project(&quot;:modules:rule&quot;))&#10; implementation(project(&quot;:modules:api&quot;))&#10; implementation(project(&quot;:modules:io&quot;))&#10;&#10; // ScalaFX dependencies&#10; implementation(&quot;org.scalafx:scalafx_3:${versions[&quot;SCALAFX&quot;]!!}&quot;)&#10; &#10; // JavaFX dependencies for the current platform&#10; val javaFXVersion = versions[&quot;JAVAFX&quot;]!!&#10; val osName = System.getProperty(&quot;os.name&quot;).lowercase()&#10; val platform = when {&#10; osName.contains(&quot;win&quot;) -&gt; &quot;win&quot;&#10; osName.contains(&quot;mac&quot;) -&gt; &quot;mac&quot;&#10; osName.contains(&quot;linux&quot;) -&gt; &quot;linux&quot;&#10; else -&gt; &quot;linux&quot;&#10; }&#10; &#10; listOf(&quot;base&quot;, &quot;controls&quot;, &quot;graphics&quot;, &quot;media&quot;).forEach { module -&gt;&#10; implementation(&quot;org.openjfx:javafx-$module:$javaFXVersion:$platform&quot;)&#10; }&#10;&#10; testImplementation(platform(&quot;org.junit:junit-bom:${versions[&quot;JUNIT_BOM&quot;]!!}&quot;))&#10; testImplementation(&quot;org.junit.jupiter:junit-jupiter&quot;)&#10; testImplementation(&quot;org.scalatest:scalatest_3:${versions[&quot;SCALATEST&quot;]!!}&quot;)&#10; testImplementation(&quot;co.helmethair:scalatest-junit-runner:${versions[&quot;SCALATEST_JUNIT&quot;]!!}&quot;)&#10;&#10; testRuntimeOnly(&quot;org.junit.platform:junit-platform-launcher&quot;)&#10;}&#10;&#10;tasks.test {&#10; useJUnitPlatform {&#10; includeEngines(&quot;scalatest&quot;)&#10; testLogging {&#10; events(&quot;skipped&quot;, &quot;failed&quot;)&#10; }&#10; }&#10; finalizedBy(tasks.reportScoverage)&#10;}&#10;tasks.reportScoverage {&#10; dependsOn(tasks.test)&#10;}&#10;" />
<option name="updatedContent" value="import org.gradle.api.file.DuplicatesStrategy&#10;import org.gradle.jvm.tasks.Jar&#10;&#10;plugins {&#10; id(&quot;scala&quot;)&#10; id(&quot;org.scoverage&quot;)&#10; application&#10;}&#10;&#10;group = &quot;de.nowchess&quot;&#10;version = &quot;1.0-SNAPSHOT&quot;&#10;&#10;@Suppress(&quot;UNCHECKED_CAST&quot;)&#10;val versions = rootProject.extra[&quot;VERSIONS&quot;] as Map&lt;String, String&gt;&#10;&#10;repositories {&#10; mavenCentral()&#10;}&#10;&#10;scala {&#10; scalaVersion = versions[&quot;SCALA3&quot;]!!&#10;}&#10;&#10;scoverage {&#10; scoverageVersion.set(versions[&quot;SCOVERAGE&quot;]!!)&#10; excludedPackages.set(listOf(&#10; &quot;de.nowchess.ui.gui&quot;&#10; ))&#10;}&#10;&#10;application {&#10; mainClass.set(&quot;de.nowchess.ui.Main&quot;)&#10;}&#10;&#10;tasks.withType&lt;ScalaCompile&gt; {&#10; scalaCompileOptions.additionalParameters = listOf(&quot;-encoding&quot;, &quot;UTF-8&quot;)&#10;}&#10;&#10;tasks.named&lt;JavaExec&gt;(&quot;run&quot;) {&#10; jvmArgs(&quot;-Dfile.encoding=UTF-8&quot;, &quot;-Dstdout.encoding=UTF-8&quot;, &quot;-Dstderr.encoding=UTF-8&quot;)&#10; standardInput = System.`in`&#10;}&#10;&#10;tasks.named&lt;Jar&gt;(&quot;jar&quot;) {&#10; duplicatesStrategy = DuplicatesStrategy.EXCLUDE&#10;}&#10;&#10;dependencies {&#10;&#10; implementation(&quot;org.scala-lang:scala3-compiler_3&quot;) {&#10; version {&#10; strictly(versions[&quot;SCALA3&quot;]!!)&#10; }&#10; }&#10; implementation(&quot;org.scala-lang:scala3-library_3&quot;) {&#10; version {&#10; strictly(versions[&quot;SCALA3&quot;]!!)&#10; }&#10; }&#10;&#10; implementation(project(&quot;:modules:core&quot;))&#10; implementation(project(&quot;:modules:rule&quot;))&#10; implementation(project(&quot;:modules:api&quot;))&#10; implementation(project(&quot;:modules:io&quot;))&#10;&#10; // ScalaFX dependencies&#10; implementation(&quot;org.scalafx:scalafx_3:${versions[&quot;SCALAFX&quot;]!!}&quot;)&#10; &#10; // JavaFX dependencies for the current platform&#10; val javaFXVersion = versions[&quot;JAVAFX&quot;]!!&#10; val osName = System.getProperty(&quot;os.name&quot;).lowercase()&#10; val platform = when {&#10; osName.contains(&quot;win&quot;) -&gt; &quot;win&quot;&#10; osName.contains(&quot;mac&quot;) -&gt; &quot;mac&quot;&#10; osName.contains(&quot;linux&quot;) -&gt; &quot;linux&quot;&#10; else -&gt; &quot;linux&quot;&#10; }&#10; &#10; listOf(&quot;base&quot;, &quot;controls&quot;, &quot;graphics&quot;, &quot;media&quot;).forEach { module -&gt;&#10; implementation(&quot;org.openjfx:javafx-$module:$javaFXVersion:$platform&quot;)&#10; }&#10;&#10; testImplementation(platform(&quot;org.junit:junit-bom:${versions[&quot;JUNIT_BOM&quot;]!!}&quot;))&#10; testImplementation(&quot;org.junit.jupiter:junit-jupiter&quot;)&#10; testImplementation(&quot;org.scalatest:scalatest_3:${versions[&quot;SCALATEST&quot;]!!}&quot;)&#10; testImplementation(&quot;co.helmethair:scalatest-junit-runner:${versions[&quot;SCALATEST_JUNIT&quot;]!!}&quot;)&#10;&#10; testRuntimeOnly(&quot;org.junit.platform:junit-platform-launcher&quot;)&#10;}&#10;&#10;tasks.test {&#10; useJUnitPlatform {&#10; includeEngines(&quot;scalatest&quot;)&#10; testLogging {&#10; events(&quot;skipped&quot;, &quot;failed&quot;)&#10; }&#10; }&#10; finalizedBy(tasks.reportScoverage)&#10;}&#10;tasks.reportScoverage {&#10; dependsOn(tasks.test)&#10;}&#10;" />
</PendingDiffInfo>
</value>
</entry>
</map>
</option>
</component>
</project>