https://kotlinlang.org logo
#gradle
Title
j

jlleitschuh

01/16/2017, 8:04 PM
@bamboo I've got another issue. This may have already been noted in another issue. My setup is:
PlexxiControl.gradle
is my root gradle file. Its minimalistic with some extention properties set and that's about it.
PlexxiControl.gradle
uses
apply from: "PlexxiControlConversion.gradle.kts"
That file has a bunch of configuration including the configuration of the repositories that the projects should use in an
allprojects
block. I have one project,
PlexxiUI
that is still defined in groovy:
PlexxiUI.gradle
That file has dependencies that seem to be unable to be resolved.
Copy code
* What went wrong:
Could not resolve all files for configuration ':PlexxiUI:compileClasspath'.
> Could not find validation-api-sources.jar (javax.validation:validation-api:1.1.0.Final).
  Searched in the following locations:
      file:/Users/jonathanleitschuh/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final-sources.jar
It seems that the
repositories
block in the root
PlexxiControlConversion.gradle.kts
isn't being evaluated before the
PlexxiUI
project tries to resolve its dependencies using repositories.