[Tutorial] How to setup Glowstone as a Gradle dependency



  • I have looked around and could not find the maven repository until I looked at the source code. So now I will share how I got the maven repository to work.

    1. First, you must set it up under the repository section. Put this in that area:
    maven {
        name = 'glowstone-repo'
        url = 'https://repo.glowstone.net/repository/snapshots/'
    }
    
    1. Next you must set it up as a dependency. Since we are using the snapshot we use this line:
    compile group: 'net.glowstone', name: 'glowstone', version: '2017.0.1.2-SNAPSHOT'
    
    1. Lastly, you must reload your gradle project, and your done! That’s it. Now you have the latest version of Glowstone!

Log in to reply
 

Looks like your connection to Glowstone was lost, please wait while we try to reconnect.