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

gradle always download LATEST-EAP-SNAPSHOT of java-compiler-ant-tasks when use localPath #443

Closed
sunnysnowhi opened this issue Nov 19, 2019 · 3 comments
Assignees
Milestone

Comments

@sunnysnowhi
Copy link

sunnysnowhi commented Nov 19, 2019

When I use gradle to build intellij plugin and use localPath config like this:
intellij {
localPath 'D:\Program Files\JetBrains\PyCharm Community Edition 2018.3'
}

The gradle always download the java-compiler-ant-tasks-LATEST-EAP-SNAPSHOT.jar, not the specific version such as java-compiler-ant-tasks-192.5728.105.jar.

How can let gradle do not download the latest version ? My maven reposity is in my compony network which can not connect the internet, and I can only put specific version like java-compiler-ant-tasks-192.5728.105.jar in my maven repository, because the maven repository only accepte release version.

Thanks

@zolotov
Copy link
Member

zolotov commented Nov 19, 2019

PyCharm Community Edition 2018.3 cannot have 192.5728.105 build number, your expectations are wrong.

We do not have compiler build for 183.* builds

How can let gradle do not download the latest version ?

see the documentation: https://github.com/jetbrains/gradle-intellij-plugin#instrumenting-dsl

@sunnysnowhi
Copy link
Author

@zolotov sorry, the version number in my question is just an example. Actually, I use 2019.2 not 2018.3
intellij {
localPath 'D:\Program Files\JetBrains\PyCharm Community Edition 2019.2'
}
And the question is : the gradle always download the java-compiler-ant-tasks-LATEST-EAP-SNAPSHOT.jar, not the specific version such as java-compiler-ant-tasks-192.5728.105.jar

When I use config like this:
intellij {
version 'PC-2019.2'
type 'PC'
}
the gradle will download the java-compiler-ant-tasks-192.5728.105.jar

So why this two kind of config download different jar ? Thanks

@zolotov
Copy link
Member

zolotov commented Nov 27, 2019

should be fixed in the next 0.5-snapshot, please check it in few hours

@zolotov zolotov removed the answered label Nov 27, 2019
@zolotov zolotov added this to the next milestone Nov 27, 2019
@zolotov zolotov modified the milestones: next, 0.4.15 Dec 7, 2019
@zolotov zolotov self-assigned this Dec 7, 2019
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

2 participants