rvandoosselaer / Blocks

A block (voxel) engine for jMonkeyEngine
BSD 3-Clause "New" or "Revised" License
41 stars 14 forks source link

Both package services have shut down #65

Closed leha-code closed 2 years ago

leha-code commented 2 years ago

There is no way to download the module as a dependency

rvandoosselaer commented 2 years ago

Unfortunately bintray and jcenter both shutdown.

However, you can always include the module as a local dependency. You can include mavenLocal() in your repository section of the build file. Checkout the Blocks sources and use the maven-publish plugin to build and install Blocks into your local maven repository.

See the gradle user doc for more info.

Edit: I have not tried this myself, but jitpack has an integration with github. I think you can just add the repository and it will build and serve the artifact.

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}
dependencies {
    implementation 'com.github.rvandoosselaer:Blocks:Tag'
}
leha-code commented 2 years ago

I've already installed it locally using ./gradlew publishtomavenlocal. Thanks for the alternate method!

leha-code commented 1 year ago

Update: jitpack works with v1.6.3 but not v1.6.4