Skip to content

Build fixes for Native#88

Merged
joroKr21 merged 1 commit intotypelevel:mainfrom
armanbilge:topic/native-build-cleanup
May 21, 2022
Merged

Build fixes for Native#88
joroKr21 merged 1 commit intotypelevel:mainfrom
armanbilge:topic/native-build-cleanup

Conversation

@armanbilge
Copy link
Member

No description provided.

Comment on lines -33 to +19
mimaPreviousArtifacts := Set.empty,
tlVersionIntroduced := Map("3" -> "3.1.0")
Copy link
Member Author

Choose a reason for hiding this comment

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

In general, you should never set mimaPreviousArtifacts := Set.empty, this is dangerous to forget :) Either

  • you are not publishing that module so .enablePlugins(NoPublishPlugin)
  • you have not published it yet, so tlVersionIntroduced := Map("3" -> "x.y.z")

Comment on lines -21 to -30
pomPostProcess := { node =>
import scala.xml._
import scala.xml.transform._
new RuleTransformer(new RewriteRule{
override def transform(n: Node) =
if (n.label == "dependency" && (n \ "artifactId").text.startsWith("junit-runtime_native"))
NodeSeq.Empty
else
n
}).transform(node)(0)
Copy link
Member Author

Choose a reason for hiding this comment

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

We can revert #65 because it was fixed upstream.

Copy link
Member

@joroKr21 joroKr21 left a comment

Choose a reason for hiding this comment

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

Nice 👍

@joroKr21 joroKr21 merged commit f44e48b into typelevel:main May 21, 2022
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.

2 participants