I'm having difficulties with getting gradle to use...
# mathematics
m
I'm having difficulties with getting gradle to use the kmath repository, I have followed the steps for the dependency and repository as provided by the link but I cant seem to find the right Tag to put there
👍 1
a
If you wait for an hour, I will publish 0.1.0-dev to artifactory. All you need is to add it to repository list
m
Yea I'm doing some other things so sounds good, thanks
So I have added the artifactory, yet now in dependencies the compiles that are in the repo arent working for me to actually compile and be able to use the scientifik
a
Sorry, did not understand that one. I need to get back to my computer to publish the last version. What platform are you working on?
m
I'm using gradle groovy, in ubuntu
a
That probably means jvm
m
I can add the repository np problem but the compile line that I need to actually use the kmath-core isnt working
Yea
Okay I change the compile so now it's more similar to the original error
a
A moment please. I am finally at my computer. I will update instructions in readme now
m
Okay I got it to find and compile
Now is other gradle wrangling, sorry to bother you, thanks
a
It is OK. I need to test it.
m
Alright I got it to build
a
I've updated version and instructions in dev branch: https://github.com/mipt-npm/kmath/tree/dev
You need to actually specify
-jvm
suffix to access jvm flavored artifact
I am currently struggling with bintray to get a full scale release artifact. The problem is that mpp is brand new and there are no good instructions for it right now. I think I will overcome it tomorrow. It will still require a separate repository definition, but it will be more stable (our artifactory tends to get offline from time to time).
m
I guess I wasnt using jvm, I was just compiling from terminal with gradle, however the compile statements you had didnt work for the groovy variant of gradle, I simply had to remove the parenthesis, then I have to properly name the package, sorry for the confusion I have it properly make the .jar now from my source code
a
use the latest 0.1.0 version. Gradle is using JVM by default.
m
Yea I figured it printed out a bunch of stuff with the gradle --version
I'll switch the tag now
a
it is called version. Tag is the git thing
m
Oh okay