Skip to content

Force ant and android studio to use Java7 - #1321

Merged
przybylski merged 1 commit into
masterfrom
updateToJava7
Dec 21, 2015
Merged

przybylski merged 1 commit into
masterfrom
updateToJava7

Conversation

@przybylski

Copy link
Copy Markdown
Contributor

No description provided.

@tobiasKaminsky

Copy link
Copy Markdown
Contributor

This should also be used for travis, or?

@przybylski

Copy link
Copy Markdown
Contributor Author

travis is using ant so it will work there.
Branch whatsNew was failing at first because of old Java version with lack of diamond operator support

@tobiasKaminsky

Copy link
Copy Markdown
Contributor

In https://github.com/owncloud/android/blob/beta/.travis.yml
ant clean -Djava.source=7 -Djava.target=7
ant debug -Djava.source=7 -Djava.target=7
is used.
I was referring to this.
Maybe it is the same as your code?

@przybylski

Copy link
Copy Markdown
Contributor Author

Yeah, this is the same but put in a properties file, IMO this is better place than putting it to .travis.yml

@tobiasKaminsky

Copy link
Copy Markdown
Contributor

As long as it is working :)

@AndyScherzinger

Copy link
Copy Markdown
Contributor

I did that back then, but @przybylski's solution is better placed :)

@AndyScherzinger

Copy link
Copy Markdown
Contributor

@tobiasKaminsky this looks good to me and if it also looks good to you I would flag it ready for review :)

@przybylski

Copy link
Copy Markdown
Contributor Author

any objection on merging this?

@tobiasKaminsky

Copy link
Copy Markdown
Contributor

Not from me.
What about @davivel @masensio?

przybylski added a commit that referenced this pull request Dec 21, 2015
Force ant and android studio to use Java7
@przybylski
przybylski merged commit d3afbb2 into master Dec 21, 2015
@tobiasKaminsky

Copy link
Copy Markdown
Contributor

@przybylski I do not know if we (community contributor) are allowed to do merges...

@przybylski

Copy link
Copy Markdown
Contributor Author

The speed of adoption of new code is killing me :P

@davivel

davivel commented Dec 22, 2015

Copy link
Copy Markdown
Contributor

The speed of adoption of new code is killing me :P

You will have to be patient and learn to live with it.

@davivel

davivel commented Dec 22, 2015

Copy link
Copy Markdown
Contributor

Branch whatsNew was failing at first because of old Java version with lack of diamond operator support

So, is this the only reason to include this change?

What other implications will it have for builds?

@davivel

davivel commented Dec 22, 2015

Copy link
Copy Markdown
Contributor

any objection on merging this?

In this repository nothing should be merged without QA approval, or without an explicit statement from me, @masensio or @rperezb that doesn't need QA.

@davivel

davivel commented Dec 22, 2015

Copy link
Copy Markdown
Contributor

Ready for discussion again in #1378

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.

4 participants