Skip to content

Have an issue when adding checkerframework in gradle build #2747

@zhenqi

Description

@zhenqi

Hi,

I face an issue when add checkerframework in gradle build, I follow the instructions: https://checkerframework.org/manual/#gradle, do all the steps to add these config settings into build.gradle(add all the items from instructions in certain part), and then do a build, here is the error log:

18:40:40 Download http://companyurl:9999/proximity/repository/public/org/checkerframework/checker/2.1.14/checker-2.1.14.pom
18:40:41 Download http://companyurl:9999/proximity/repository/public/org/springframework/boot/spring-boot-starter-parent/1.5.4.RELEASE/spring-boot-starter-parent-1.5.4.RELEASE.pom
18:40:44 Download http://companyurl:9999/proximity/repository/public/org/checkerframework/checker/2.1.14/checker-2.1.14.jar
18:40:44 Download http://companyurl:9999/proximity/repository/public/org/checkerframework/jdk8/2.1.14/jdk8-2.1.14.pom
18:40:45 Download http://companyurl:9999/proximity/repository/public/org/checkerframework/jdk8/2.1.14/jdk8-2.1.14.jar
18:40:45
18:40:45 FAILURE: Build failed with an exception.
18:40:45
18:40:45 * Where:
18:40:45 Build file '/var/builds/workspace/111592-v3-PR-824/BUILD_CONTAINER/oracle-jdk8-current/label/DOCKER-LOW/app_root/build.gradle' line: 185
18:40:45
18:40:45 * What went wrong:
18:40:45 A problem occurred evaluating root project 'projectname'.
18:40:45 > Cannot change strategy of configuration ':checkerFramework' after it has been resolved.
18:40:45

I am not sure where this error comes from, does someone have ideas?

Thanks,

Ace

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