As reported on gitter the issue with IntelliJ seems to persist and unfortunately wasn't completely fixed by #2382 :(
When I clone fresh Cats repo and load into IntelliJ I get:
sbt:cats>
[info] Defining Global / sbtStructureOptions, Global / sbtStructureOutputFile, shellPrompt
[info] The new values will be used by no settings or tasks.
[info] Reapplying settings...
[info] Set current project to cats (in build file:/home/pgawrys/IdeaProjects/cats/)
[info] Applying State transformations org.jetbrains.sbt.CreateTasks from /home/pgawrys/.IdeaIC2018.2/config/plugins/Scala/launcher/sbt-structure-1.0.jar
[info] Reapplying settings...
[info] Set current project to cats (in build file:/home/pgawrys/IdeaProjects/cats/)
Downloading https://repo1.maven.org/maven2/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom.sha1
Downloading https://repo1.maven.org/maven2/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom
Downloading https://oss.sonatype.org/content/repositories/releases/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom
Downloading https://oss.sonatype.org/content/repositories/releases/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom.sha1
Downloading https://oss.sonatype.org/content/repositories/snapshots/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom
Downloading https://oss.sonatype.org/content/repositories/snapshots/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom.sha1
[info] Updating binCompatTest...
[info] Done updating.
[error] coursier.ResolutionException: Encountered 1 error(s) in dependency resolution:
[error] org.scalacheck:scalacheck_native0.3_2.11:1.13.5:
[error] not found:
[error] /home/pgawrys/.ivy2/local/org.scalacheck/scalacheck_native0.3_2.11/1.13.5/ivys/ivy.xml
[error] https://repo1.maven.org/maven2/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom
[error] unauthorized:
[error] https://oss.sonatype.org/content/repositories/releases/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom
[error] https://oss.sonatype.org/content/repositories/snapshots/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom
[error] coursier.ResolutionException: Encountered 1 error(s) in dependency resolution:
[error] org.scalacheck:scalacheck_native0.3_2.11:1.13.5:
[error] not found:
[error] /home/pgawrys/.ivy2/local/org.scalacheck/scalacheck_native0.3_2.11/1.13.5/ivys/ivy.xml
[error] https://repo1.maven.org/maven2/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom
[error] unauthorized:
[error] https://oss.sonatype.org/content/repositories/releases/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom
[error] https://oss.sonatype.org/content/repositories/snapshots/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom
[error] (kernelNative / coursierResolutions) coursier.ResolutionException: Encountered 1 error(s) in dependency resolution:
[error] org.scalacheck:scalacheck_native0.3_2.11:1.13.5:
[error] not found:
[error] /home/pgawrys/.ivy2/local/org.scalacheck/scalacheck_native0.3_2.11/1.13.5/ivys/ivy.xml
[error] https://repo1.maven.org/maven2/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom
[error] unauthorized:
[error] https://oss.sonatype.org/content/repositories/releases/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom
[error] https://oss.sonatype.org/content/repositories/snapshots/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom
[error] (kernelNative / ssExtractDependencies) coursier.ResolutionException: Encountered 1 error(s) in dependency resolution:
[error] org.scalacheck:scalacheck_native0.3_2.11:1.13.5:
[error] not found:
[error] /home/pgawrys/.ivy2/local/org.scalacheck/scalacheck_native0.3_2.11/1.13.5/ivys/ivy.xml
[error] https://repo1.maven.org/maven2/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom
[error] unauthorized:
[error] https://oss.sonatype.org/content/repositories/releases/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom
[error] https://oss.sonatype.org/content/repositories/snapshots/org/scalacheck/scalacheck_native0.3_2.11/1.13.5/scalacheck_native0.3_2.11-1.13.5.pom
[error] Total time: 44 s, completed Oct 15, 2018 11:52:46 AM
[info] shutting down server
It's still possible to do code, it's possible to run tests in sbt etc. but it's a real pain without any indexes working
ah. seems that scalacheck hasn't publish scalanative artifact yet.
https://github.com/rickynils/scalacheck/issues/396
I'd propose we disable scalanative in cats before this is resolved.
Yep. I've just checked and this line is to blame
https://github.com/typelevel/cats/blob/master/build.sbt#L360
that was needed for adding a doctest, it might be possible to disable that dependency when it's on scala native.
sorry closed by accident.
I asked around, people have no objection if we disable scalanative until scalacheck unblocks. Anyone interested in creating a PR?
I'll do it today evening.
@kailuowang, ready to go.
Most helpful comment
ah. seems that scalacheck hasn't publish scalanative artifact yet.
https://github.com/rickynils/scalacheck/issues/396
I'd propose we disable scalanative in cats before this is resolved.