crwdns118469:0crwdne118469:0

crwdns118471:0crwdne118471:0

crwdns118473:0:doc:crwdne118473:0

Tip

crwdns118475:0:ref:crwdne118475:0

crwdns118477:0crwdne118477:0

plugins {
    id 'java'
    id 'org.spongepowered.plugin' version '0.9.0'
}

// 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 {
    jcenter()
}

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

crwdns118479:0crwdne118479:0

  • crwdns118481:0crwdne118481:0

  • crwdns118483:0crwdne118483:0

  • crwdns118485:0crwdne118485:0

  • crwdns118487:0crwdne118487:0

  • crwdns118489:0:doc:crwdnd118489:0:doc:crwdne118489:0

crwdns118491:0crwdne118491:0

crwdns118493:0:doc:crwdne118493:0

sponge {
    plugin {
        id = 'pluginidgoeshere'
    }
}

crwdns118495:0crwdne118495:0

crwdns118497:0:doc:crwdne118497:0

sponge {
    plugin {
        meta {
            name = 'Example Plugin'
            version = '1.0.0-SNAPSHOT'
            description = 'This is an example plugin'
            url = 'http://www.example.com/'
        }
    }
}

crwdns118499:0crwdne118499:0

sponge {
    plugin {
        meta {
            name = null
            description = null
        }
    }
}

crwdns118501:0crwdne118501:0

Warning

crwdns118503:0:ref:crwdne118503:0

crwdns118505:0crwdne118505:0

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

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