Gradle plugin to run sponge inside your workspace.
plugins {
id "com.qixalite.spongestart" version "1.6.0"
id "java"
}
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven {
url 'https://repo.spongepowered.org/maven/'
}
}
spongestart{
eula true
//optional settings, takes latest version by default
minecraft '1.10.2'
type 'bleeding'
spongeForgeVersion '1.10.2-2202-5.1.0-BETA-2042'
spongeVanillaVersion '1.10.2-5.0.0-BETA-89'
}
dependencies{
//you still need to set your dependency on sponge, this plugin only handles the running part.
compile 'org.spongepowered:spongeapi:3.1.0-SNAPSHOT'
}
gradle setupServer
Generates a forge and vanilla server + intelij run configurations.
gradle setupVanilla
Generates a vanilla server + intelij run configurations.
gradle setupForge
Generates a forge server + intelij run configurations.
- Mainclass:
StartServer
- Working Directory:
run/forge
- Mainclass:
StartServer
- Working Directory:
run/vanilla
- arguments:
-scan-classpath