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

0.4.0 depends on upstream Kotlin 1.1 M04, which no longer available in Maven Central #31

Closed
orospakr opened this issue Feb 8, 2017 · 6 comments

Comments

@orospakr
Copy link

orospakr commented Feb 8, 2017

> Could not resolve all dependencies for configuration ':ktlint'.
   > Could not find org.jetbrains.kotlin:kotlin-compiler-embeddable:1.1-M04.
     Searched in the following locations:
         http://dl.bintray.com/populov/maven/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.1-M04/kotlin-compiler-embeddable-1.1-M04.pom
         http://dl.bintray.com/populov/maven/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.1-M04/kotlin-compiler-embeddable-1.1-M04.jar
         https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.1-M04/kotlin-compiler-embeddable-1.1-M04.pom
         https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.1-M04/kotlin-compiler-embeddable-1.1-M04.jar
     Required by:
         :joist-android:unspecified > com.github.shyiko:ktlint:0.4.0 > com.github.shyiko.ktlint:ktlint-core:0.4.0
@orospakr
Copy link
Author

orospakr commented Feb 8, 2017

afaict it is standard for various sorts of 'beta' releases to have limited lifetimes on repositories in the Java world.

@shyiko
Copy link
Collaborator

shyiko commented Feb 8, 2017

Hi @orospakr. Thanks for letting me know. M04 is still available, the problem is Gradle ignores <repositories>...</repositories> (https://issues.gradle.org/browse/GRADLE-611). The easiest way to get it all working again is to add maven { url "http://dl.bintray.com/kotlin/kotlin-eap-1.1" } repository in your build.gradle. I'll update the readme.md in a minute.

@shyiko
Copy link
Collaborator

shyiko commented Feb 8, 2017

btw, if you don't need koltin 1.1 features you can go with the previous ktlint@0.3.1 release (in case you don't want to add EAP repo). feature-wise ktlint@0.4.0 and 0.3.1 are the same. The only difference is kotlin compiler version.

@orospakr
Copy link
Author

orospakr commented Feb 9, 2017

Thank you for the great answers :)

@REggar
Copy link
Contributor

REggar commented Mar 1, 2017

@shyiko Can we have a release without the requirement for maven { url "http://dl.bintray.com/kotlin/kotlin-eap-1.1" } now that 1.1.0 is out?

@shyiko
Copy link
Collaborator

shyiko commented Mar 1, 2017

@REggar done - 0.6.0.

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

No branches or pull requests

3 participants