-
Notifications
You must be signed in to change notification settings - Fork 7
Add tooling project and sbt plugin #60
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
Comments
@jonas, I need help with creating an sbt plugin lazy val plugin = project
.in(file("plugin"))
.settings(
name := "sbt-scala-native-bindgen",
sbtPlugin := true
) But it causes version conflicts: [warn] Found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
[warn] * xml-apis:xml-apis:1.3.04 is selected over 2.0.2
[warn] +- org.apache.xmlgraphics:batik-script:1.8 (depends on 1.3.04)
[warn] +- org.apache.xmlgraphics:batik-anim:1.8 (depends on 1.3.04)
[warn] +- org.apache.xmlgraphics:batik-transcoder:1.8 (depends on 1.3.04)
[warn] +- org.apache.xmlgraphics:batik-bridge:1.8 (depends on 1.3.04)
[warn] +- org.apache.xmlgraphics:batik-svg-dom:1.8 (depends on 1.3.04)
[warn] +- org.apache.xmlgraphics:batik-parser:1.8 (depends on 1.3.04)
[warn] +- org.apache.xmlgraphics:batik-dom:1.8 (depends on 1.3.04)
[warn] +- org.apache.xmlgraphics:batik-css:1.8 (depends on 1.3.04)
[warn] +- org.apache.xmlgraphics:batik-ext:1.8 (depends on 1.3.04)
[warn] +- org.apache.xmlgraphics:batik-extension:1.8 (depends on 1.3.04)
[warn] +- org.apache.xmlgraphics:batik-svggen:1.8 (depends on 1.3.04)
[warn] +- xalan:xalan:2.7.0 (depends on 2.0.2) If I refresh project in IntelliJ IDEA it fails with this error (it does not happen in console): [error] Modules were resolved with conflicting cross-version suffixes in ProjectRef(uri("file:/home/lk/projects/gsoc/scala-native-bindgen/"), "plugin"):
[error] org.scala-lang.modules:scala-xml _2.11, _2.12
[error] org.scala-lang.modules:scala-parser-combinators _2.11, _2.12 I don't know how to fix this version conflict |
I'll take a look tonight or tomorrow. |
Will we publish the plugin before releasing 0.2? |
Yes that is my plan. I will make a PR to configure publishing. |
I've moved the release date of the 0.2 milestone to 2018-07-16. |
Okay, I drafted v0.2 release |
Fixed in #130 |
Add a
tools
project to provide an API for build tools to easily use the generator. The API could be based on the builder pattern, e.g. https://docs.rs/bindgen/0.37.0/bindgen/struct.Builder.htmlUse the tooling API to create a simple sbt project which can eventually be used by the tests and bindings (#59 )
The text was updated successfully, but these errors were encountered: