Skip to content

Dependency resolution: Cyclic variable definition error #3

@qw3ry

Description

@qw3ry

Using gradle with kotlin DSL, I've imported the library with

repositories {
  mavenCentral()
  maven { url = uri("http://neuroph.sourceforge.net/maven2") }
}
dependencies {
  implementation("org.neuroph", "neuroph-core", "2.96")
}

however, this yields to the error

cyclic variable definition: cycle = [parent.version, parent.version]

This is probably related to the Neuroph pom, that is included in neuroph-core as parent pom. There, the version is defined using ${parent.version}.
I am not sure if this is correctly defined and works for maven (and thus is a gradle bug), or if this occurs with maven as well. If anyone can confirm that this works using maven I'll file a gradle bug.

I could workaround for now by downgrading to 2.94

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions