Thread
#mathematics
    m

    Micah Church

    3 years ago
    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
    altavir

    altavir

    3 years ago
    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

    3 years ago
    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
    altavir

    altavir

    3 years ago
    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

    3 years ago
    I'm using gradle groovy, in ubuntu
    altavir

    altavir

    3 years ago
    That probably means jvm
    m

    Micah Church

    3 years ago
    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
    altavir

    altavir

    3 years ago
    A moment please. I am finally at my computer. I will update instructions in readme now
    m

    Micah Church

    3 years ago
    Okay I got it to find and compile
    Now is other gradle wrangling, sorry to bother you, thanks
    altavir

    altavir

    3 years ago
    It is OK. I need to test it.
    m

    Micah Church

    3 years ago
    Alright I got it to build
    altavir

    altavir

    3 years ago
    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

    3 years ago
    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
    altavir

    altavir

    3 years ago
    use the latest 0.1.0 version. Gradle is using JVM by default.
    m

    Micah Church

    3 years ago
    Yea I figured it printed out a bunch of stuff with the gradle --version
    I'll switch the tag now
    altavir

    altavir

    3 years ago
    it is called version. Tag is the git thing
    m

    Micah Church

    3 years ago
    Oh okay