crwdns138027:0crwdne138027:0

crwdns138031:0crwdne138031:0

crwdns138033:0:doc:crwdne138033:0

Tip

crwdns138035:0:ref:crwdne138035:0

crwdns138037:0crwdne138037:0

plugins {
    id 'java-library'
    id("org.spongepowered.plugin") version '0.11.3'
}

// This may not be required, but has solved issues in the past
compileJava.options.encoding = 'UTF-8'

// TODO: Change the following to match your information
group = 'com.example'
version = '1.0.0-SNAPSHOT'
description = 'Here lies an example plugin definition'

repositories {
    mavenCentral()
}

sponge {
    apiVersion("8.1.0")
    licence("MIT")
    loader {
        name(PluginLoaders.JAVA_PLAIN)
        version("1.0")
    }
    plugin("**plugin Id**") {
        displayName("**Plugin Name**")
        entrypoint("**Plugin Entrypoint**")
        description("**Plugin Description**")
        dependency("spongeapi") {
            loadOrder(PluginDependency.LoadOrder.AFTER)
            optional(false)
        }
    }
}

crwdns138039:0crwdne138039:0

  • crwdns138041:0crwdne138041:0

  • crwdns138045:0crwdne138045:0

  • crwdns138047:0crwdne138047:0

  • crwdns138049:0:doc:crwdnd138049:0:doc:crwdne138049:0

crwdns138061:0crwdne138061:0

Warning

crwdns138063:0:ref:crwdne138063:0

crwdns138065:0crwdne138065:0

repositories {
    mavenCentral()
    maven {
        name = 'sponge-repo'
        url = 'https://repo.spongepowered.org/repository/maven-public/'
    }
}

dependencies {
    compile 'org.spongepowered:spongeapi:8.0.0'
}