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

Updated travis ci for gradle 5 support #19

Merged
merged 4 commits into from
Feb 28, 2019
Merged

Updated travis ci for gradle 5 support #19

merged 4 commits into from
Feb 28, 2019

Conversation

gianluz
Copy link
Member

@gianluz gianluz commented Feb 18, 2019

fixes #16

@f-meloni
Copy link
Member

Should you update kscript as well to work with gradle 5?

.travis.yml Outdated
- curl -s "https://get.sdkman.io" | bash
- source ~/.bash_profile
- sdk install kscript
- sdk install gradle 5.2.1
Copy link
Member

Choose a reason for hiding this comment

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

If you remove the version it should take the latest one, that is the one we most care about probably if we take the brew way

Copy link
Member Author

Choose a reason for hiding this comment

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

i always use to use fixed versions, if there is an updated version could break something and we not have any control of that. I think is a good idea use known versions. BTW, with gradle 5 there is some problems on kotlin native.. i'm working on that

Copy link
Member

Choose a reason for hiding this comment

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

You are right, but in this specific case, given we are going to use brew as explained in the article @orta posted here #13 (comment), brew doesn't use versions, this means that if we add gradle as dependency who installs danger-kotlin gets it with the latest version available, then I would suggest to test against the one the people will get

@DangerCI
Copy link

DangerCI commented Feb 27, 2019

Warnings
⚠️

Any changes to library code should be reflected in the Changelog.

Please consider adding a note there and adhere to the Changelog Guidelines.

⚠️ Big PR, try to keep changes smaller if you can

Generated by 🚫 Danger Kotlin against abbbcfa

build.gradle Outdated
@@ -1,5 +1,19 @@
buildscript {
repositories {
mavenCentral()
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
Copy link
Member

Choose a reason for hiding this comment

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

Why do you need two with dev and eap?

@@ -1,5 +1,5 @@
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.0'
id 'org.jetbrains.kotlin.jvm'
Copy link
Member

Choose a reason for hiding this comment

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

No fixed version?

Copy link
Member Author

Choose a reason for hiding this comment

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

not needed.. is defined in gradle properties

@@ -1,17 +1,17 @@
plugins {
id 'org.jetbrains.kotlin.konan' version "1.3.11"
id 'kotlin-multiplatform'
Copy link
Member

Choose a reason for hiding this comment

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

🎉

import platform.posix.*


Copy link
Member

Choose a reason for hiding this comment

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

not needed space

Copy link
Member

@f-meloni f-meloni left a comment

Choose a reason for hiding this comment

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

LG just few comments

Copy link
Member

@f-meloni f-meloni left a comment

Choose a reason for hiding this comment

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

Cool, the only thing is that takes more to build but we can have a look at that later.
Thank you @gianluz, this was 💯

@f-meloni f-meloni merged commit 82d0675 into master Feb 28, 2019
@f-meloni f-meloni deleted the gradle-5-support branch February 28, 2019 10:55
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.

The Kotlin native library doesn't have autocompletion and syntax higlighting
3 participants