graphstream / gs-core

Graphstream core
http://graphstream-project.org/
Other
398 stars 109 forks source link

Convert to gradle in order to ease installation #332

Closed nouwaarom closed 4 years ago

nouwaarom commented 4 years ago

Hi, I recently started using this library and I like it very much! However, I found the process of installation rather hard. I am using gradle for my project and had to add the jars by hand, which is not nice as it does not allow automatic updating.

I used gradle source dependencies to allow easy installation from my fork.

in build.gradle.kts I added.

dependencies {
    ...
    implementation("org.graphstream:gs-core:1.3")
}

And in settings.gradle.kts.

sourceControl {
    gitRepository(uri("https://github.com/nouwaarom/gs-core.git")) {
        producesModule("org.graphstream:gs-core")
    }
}

I think it would be nice to use this in order to ease installation. (In order for this to work, the repository should contain a tag with the version number, so for this example I created a tag 1.3). What do you think of this?

pigne commented 4 years ago

GraphStream now uses jitpack to produce builds. You can use the following config in your gradle files : https://jitpack.io/#graphstream/gs-core/dev-SNAPSHOT

No need to change anything to the repository. As a consequence I'll refuse the PR.

nouwaarom commented 4 years ago

Oh nice! I was not aware of this. Could you update the documentation to make this clear to people that want to start using this library?

On Fri, 8 Nov 2019, 10:22 Yoann Pigné, notifications@github.com wrote:

Closed #332 https://github.com/graphstream/gs-core/pull/332.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/graphstream/gs-core/pull/332?email_source=notifications&email_token=ABHTLUMJYZYNL66E5SA4YRTQSUVUZA5CNFSM4JJEAX6KYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUXKXKOQ#event-2782229818, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHTLUPYDNE54VKZNDNS53TQSUVUZANCNFSM4JJEAX6A .