https://kotlinlang.org logo
m

Micah Church

02/21/2019, 5:04 AM
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

altavir

02/21/2019, 5:09 AM
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

Micah Church

02/21/2019, 5:23 AM
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

altavir

02/21/2019, 5:46 AM
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

Micah Church

02/21/2019, 5:47 AM
I'm using gradle groovy, in ubuntu
a

altavir

02/21/2019, 5:48 AM
That probably means jvm
m

Micah Church

02/21/2019, 5:48 AM
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

altavir

02/21/2019, 5:54 AM
A moment please. I am finally at my computer. I will update instructions in readme now
m

Micah Church

02/21/2019, 5:55 AM
Okay I got it to find and compile
Now is other gradle wrangling, sorry to bother you, thanks
a

altavir

02/21/2019, 5:56 AM
It is OK. I need to test it.
m

Micah Church

02/21/2019, 6:00 AM
Alright I got it to build
a

altavir

02/21/2019, 6:01 AM
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

Micah Church

02/21/2019, 6:05 AM
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

altavir

02/21/2019, 6:06 AM
use the latest 0.1.0 version. Gradle is using JVM by default.
m

Micah Church

02/21/2019, 6:08 AM
Yea I figured it printed out a bunch of stuff with the gradle --version
I'll switch the tag now
a

altavir

02/21/2019, 6:10 AM
it is called version. Tag is the git thing
m

Micah Church

02/21/2019, 6:13 AM
Oh okay