Skip to content

Conflicting CUP Dependencies #5

@noschiff

Description

@noschiff

We include sherrloc via its JAR, but the ant jar target includes all its dependencies, including CUP. Without this funky hacky configuration, compileJava will fail because the generated SCIF Parser will compile against sherrloc's CUP.

SCIF/build.gradle

Lines 105 to 111 in edb9d5c

configurations {
priority // hack to force sherrloc to apprear later than jflex and cup
sourceSets.main.compileClasspath = configurations.priority + sourceSets.main.compileClasspath
sourceSets.main.runtimeClasspath = configurations.priority + sourceSets.main.runtimeClasspath
sourceSets.test.compileClasspath = configurations.priority + sourceSets.test.compileClasspath
sourceSets.test.runtimeClasspath = configurations.priority + sourceSets.test.runtimeClasspath
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions