-
Notifications
You must be signed in to change notification settings - Fork 535
fix #96 gradle build #98
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
Conversation
|
||
subprojects { | ||
apply plugin: 'java' | ||
sourceCompatibility = 1.7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this true?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hint:
"javacOptions in compile ++= Seq("-encoding", "UTF-8", "-source", "1.6", "-target", "1.6", "-Xlint:unchecked", "-Xlint:deprecation")"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@viktorklang : Should we support java 6 ?
Regarding Java6 support, that's what we currently support and changing that would be a completely different PR IMO. |
|
||
gradle.projectsEvaluated { | ||
tasks.withType(JavaCompile) { | ||
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need encoding UTF-8 here too, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes indeed, updated on lines below.
3e2ca6b
to
1e4ff2b
Compare
@reactive-streams/contributors any update ? |
1e4ff2b
to
fcfaf7f
Compare
apply plugin: 'idea' | ||
|
||
group = 'org.reactivestreams' | ||
version = '0.4.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated to 0.4.0
@reactive-streams/contributors Can the contributors try this PR and verify that it works for the intents and purposes of build and publish? |
Is it possible to publish locally (ivy-style) with this build or would it need some more plugins? // that's my use case when working on the tck and validating with akka-streams |
The build fails for me.
I also recommend you The branch and status for me doing the test above is:
|
30c2b95
to
f8797b8
Compare
@benjchristensen build is working ouertani@f8797b8 |
Installs the 'archives' artifacts into the local Maven repository. |
@ouertani that's why I'm asking about local ivy2 repos. Makes things a bit easier on my side if it's possible out-of-the-box. |
@ktoso, I think the build definition should be updated as follows but IMHO don't recommend to use urls
|
Can more @reactive-streams/contributors verify that this is a solid replacement for the current build so we can either yay or nay it? Thank you |
Thanks for the links @viktorklang – that works for me then, I'm fine with whatever @reactive-streams/contributors quorum decides on this then 😉 |
Need to take a moment to evaluate it, will do after some work for a customer; |
Thanks @smaldini |
@viktorklang @ktoso I add ivy support ouertani@8a2e7f0 but noted ;
|
@viktorklang, yes example subproject should also be included. But this should be after or before merging this PR ? |
@ouertani Absolutely, I just wanted to give you a heads up :) |
version = '0.4.0' | ||
|
||
|
||
gradle.projectsEvaluated { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This projectsEvaluated
wrapper should go. It's not needed.
Looks ok to me. There are probably some cosmetic improvements that can be made though. |
@reactive-streams/contributors My thinking is to merge this after we ship 1.0-M1 so we can try this out for publishing 1.0-RC1. Sound good? Vote? |
126aa5d
to
faf001e
Compare
@viktorklang @alkemist example project has been add |
@ouertani Excellent! Would you mind squashing the commits please? |
b9756df
to
c455d91
Compare
@viktorklang done c455d91 👍 |
|
||
|
||
group = 'org.reactivestreams' | ||
version = '0.4.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bump version to 1.0.0.M1
I'm ready to merge this after version bump of RS to 1.0.0.M1 and Gradle 2.1! |
Updates CONTRIBUTING.md with Gatekeeper SLAs =tck method names and fine-details in some specs improved =tck reactive-streams#128 TCK updated to reflect merged rules 2.13 and 2.14 Moves the examples out to its own sub-project and makes sure that they are compiled but not published. =tck reactive-streams#138 clarify docs on registerOnSubscribe Aims to clarify confusion about this method, as seen in reactive-streams#138 fix reactive-streams#96 fix reactive-streams#95 gradle build tool makes gradlew executable add inter dependency add ivy publish incubator plugin but using this url "${rootProject.buildDir}/repo" merge add example project add example project
c455d91
to
dddbd3a
Compare
@viktorklang updated to 2.1 and 1.0.0.M1. |
@reactive-streams/contributors I think everyone has had ample time to vote against this one (since august 19th to be specific). Merging, and now we are on gradle iso sbt! |
Thanks so much for your contribution @ouertani! |
No description provided.