Skip to content

Running StartVanillaServer in IntelliJ IDEA fails with gradle 3.2.1 and gradle 3.3. #1

@blubberdiblub

Description

@blubberdiblub

Running the Vanilla Sponge from IDEA fails for me whereas running SpongeForge works fine.

The only differences in the run configurations are the working directory (run/forge vs. run/vanilla) and the -scan-classpath argument, but removing that argument from the StartVanillaServer configuration doesn't help, either.

See the attached log output.

The possibly interesting parts of my build.gradle are:

plugins {
    id 'com.qixalite.spongestart' version '1.6.0'
    id 'groovy'
    id 'idea'
    id 'java'
    id 'maven'
    id 'org.spongepowered.plugin' version '0.8.1'
}

apply from: 'project.gradle'

// sourceCompatibility = '1.8'
// targetCompatibility = '1.8'

spongestart{
    eula true

    //optional settings, takes latest version by default
    minecraft '1.11.2'
    type 'bleeding'
    spongeForgeVersion '1.11.2-2226-6.0.0-BETA-2129'
    spongeVanillaVersion '1.11.2-6.0.0-BETA-216'
}

repositories {
    mavenLocal()
    jcenter()
    mavenCentral()

    maven {
        name = 'sponge'
        url = 'http://repo.spongepowered.org/maven'
    }
}

dependencies {
    compile 'org.jetbrains:annotations:13.0'
    compile 'org.spongepowered:spongeapi:6.0.0-SNAPSHOT'
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions