crwdns129387:0crwdne129387:0

crwdns129389:0crwdne129389:0

crwdns129391:0:doc:crwdne129391:0

Tip

crwdns129393:0:ref:crwdne129393:0

crwdns129395:0crwdne129395:0

plugins {
    id 'org.spongepowered.plugin' version '0.8.1'
}

group = 'com.example' // TODO
version = '1.0-SNAPSHOT'
description = 'An example plugin'

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

crwdns129397:0crwdne129397:0

  • crwdns129399:0crwdne129399:0

  • crwdns129401:0crwdne129401:0

  • crwdns129403:0crwdne129403:0

  • crwdns129405:0crwdne129405:0

  • crwdns129407:0:doc:crwdne129407:0

crwdns129409:0crwdne129409:0

crwdns129411:0:doc:crwdne129411:0

sponge {
    plugin {
        id = 'mypluginid'
    }
}

crwdns129413:0crwdne129413:0

crwdns129415:0:doc:crwdne129415:0

sponge {
    plugin {
        meta {
            name = 'My Plugin'
            version = '1.0.0'
            description = 'This is a plugin'
        }
    }
}

crwdns129417:0crwdne129417:0

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

crwdns129419:0crwdne129419:0

Warning

crwdns129421:0:ref:crwdne129421:0

crwdns129423:0crwdne129423:0

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

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