There’s not really a clearly explained way of doing this.
gradle.build
plugins {
id 'org.spongepowered.plugin' version '0.6'
}
group 'shadowraix.github.io'
version '1.0-SNAPSHOT'
dependencies {
compile 'org.spongepowered:spongeapi:5.0.0-SNAPSHOT'
}
Using the build gradle task generates a jar that Sponge does not register as a valid mod.
Adding an artifact with compile output only generates a valid mod but it reports mcmod.info is missing even though I have annotation processing enabled.