crwdns148613:0crwdne148613:0

crwdns148615:0crwdne148615:0

crwdns148617:0:doc:crwdne148617:0

Tip

crwdns148619:0:ref:crwdne148619:0

crwdns148621:0crwdne148621: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:6.0.0'
}

crwdns148623:0crwdne148623:0

  • crwdns148625:0crwdne148625:0

  • crwdns148627:0crwdne148627:0

  • crwdns148629:0crwdne148629:0

  • crwdns148631:0crwdne148631:0

  • crwdns148633:0:doc:crwdne148633:0

crwdns148635:0crwdne148635:0

crwdns148637:0:doc:crwdne148637:0

sponge {
    plugin {
        id = 'mypluginid'
    }
}

crwdns148639:0crwdne148639:0

crwdns148641:0:doc:crwdne148641:0

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

crwdns148643:0crwdne148643:0

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

crwdns148645:0crwdne148645:0

Warning

crwdns148647:0:ref:crwdne148647:0

crwdns148649:0crwdne148649:0

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

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