Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use portable-scala crossProject #2323

Merged
merged 2 commits into from Jul 24, 2018
Merged

Use portable-scala crossProject #2323

merged 2 commits into from Jul 24, 2018

Conversation

ghost
Copy link

@ghost ghost commented Jul 11, 2018

Also added native to the kernel project, just to get the ball rolling there - ref #1549

There was an issue with issue with the workaround used by simulacrum. However, and with reference to #2152, I switched it back to Provided and then added a post process step to remove from the POM: so hopefully, that is now OK, too.

@codecov-io
Copy link

codecov-io commented Jul 11, 2018

Codecov Report

Merging #2323 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2323   +/-   ##
=======================================
  Coverage   95.07%   95.07%           
=======================================
  Files         343      343           
  Lines        5931     5931           
  Branches      217      217           
=======================================
  Hits         5639     5639           
  Misses        292      292

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 186dbab...00c8b44. Read the comment docs.

build.sbt Outdated
override def transform(node: xml.Node): Seq[xml.Node] = node match {
case e: xml.Elem
if e.label == "dependency" && e.child.exists(child => child.label == "groupId" && child.text == "com.github.mpilquist") => Nil
case _ => Seq(node)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this blanket removing every dependencies under "com.github.mpilquist" for the sake of simulacrum. Is this worthwhile than just using Provided?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it just removes the simulacrum dependency the POM, a known concern, as done in the past elsewhere- eg typelevel/cats-effect#77 (comment) .

But if you would rather a more fine controlled selection, by artifact name, sure-np

Copy link
Contributor

@kailuowang kailuowang Jul 11, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I think artifact name would be better, but if it's trickier than group name I'd vote for just leave it as "Provdided", not ideal, but didn't cause any problems in the past before we switched to the CompileTime hack.

@kailuowang
Copy link
Contributor

Thanks @BennyHill !

@ghost ghost mentioned this pull request Jul 15, 2018
@kailuowang kailuowang changed the base branch from master to 1.2.x July 23, 2018 21:01
@ghost
Copy link
Author

ghost commented Jul 24, 2018

Any updates on this, please? As others are right now, just trying to cross things off my open list.

@kailuowang kailuowang merged commit e32a591 into typelevel:1.2.x Jul 24, 2018
@ghost
Copy link
Author

ghost commented Jul 24, 2018

Blimey....fast response!! Many thanks!

@kailuowang
Copy link
Contributor

Merged into 1.2.x branch which will be merged into master soon (supposedly every commits to 1.2.x should be automatically merge back to master, I just want to avoid creating too many PRs, we are going to deal with this 2 branch situation until we get a 2.13-M4 build released)

@ghost
Copy link
Author

ghost commented Jul 24, 2018

Just fyi, this was originally done for the 2.13.0-m4 work, see #2267 (comment) . Looks like it is not actually required for that, so can be merged in as you require

kailuowang added a commit that referenced this pull request Jul 26, 2018
* remove 2.13 for releases

* Setting version to 1.2.0

* Setting version to 1.2.1-SNAPSHOT

* post release update

* Use portable-scala crossProject (#2323)

* Use portable-scala crossProject

* Refine POM match for simulacrum

* Drop 2.10 support / update to 2.13-M4 (#2306)

* drop 2.10 support from the build

* drop Scala 2.10 /update to 2.13-M3
@kailuowang kailuowang added this to the 1.3 milestone Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants