Slackbot
02/07/2023, 5:51 PMEric Kolotyluk
02/07/2023, 10:57 PMChris Lee
02/07/2023, 11:08 PMChris Lee
02/07/2023, 11:11 PMprintln(projectDir)
println(project(":plugins:java-core").projectDir)Chris Lee
02/07/2023, 11:14 PM:common-utils is included in settings.gradle of eps-sparkEric Kolotyluk
02/07/2023, 11:17 PMinclude ":common-utils"
project(":common-utils").projectDir = file("../../jas/common-utils")
is from eps-store/settings.gradle, but given I can do a ./gradlew clean here I don't see a problem.Eric Kolotyluk
02/07/2023, 11:18 PMEric Kolotyluk
02/07/2023, 11:19 PMinclude ':eps-store'
project(":eps-store").projectDir = file("../eps-store")
looks fine, but that is not what gradle is complaining about.Eric Kolotyluk
02/07/2023, 11:20 PMEric Kolotyluk
02/07/2023, 11:25 PMeps-spark % ./gradlew clean
> Configure project :
/Users/eric.kolotyluk/git/autonomous-iam/eps/eps-spark
/Users/eric.kolotyluk/git/autonomous-iam/eps/eps-store
> Configure project :elastic-store
Using INDEXER: elastic
> Configure project :eps-store
Using DB: cassandra
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/eric.kolotyluk/git/autonomous-iam/eps/eps-store/build.gradle' line: 73Eric Kolotyluk
02/07/2023, 11:26 PMprintln(projectDir)
println(project(":eps-store").projectDir)Chris Lee
02/08/2023, 1:18 AMprintln(projectDir)
println(project(":plugins:java-core").projectDir)
println("Exists : " + project(":plugins:java-core").projectDir.exists())Eric Kolotyluk
02/09/2023, 1:00 AMeps-spark % ./gradlew clean
> Configure project :
/Users/eric.kolotyluk/git/autonomous-iam/eps/eps-spark
/Users/eric.kolotyluk/git/autonomous-iam/eps/eps-store
Exists : true
> Configure project :elastic-store
Using INDEXER: elastic
> Configure project :eps-store
/Users/eric.kolotyluk/git/autonomous-iam/eps/eps-store
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/eric.kolotyluk/git/autonomous-iam/eps/eps-store/build.gradle' line: 11
* What went wrong:
A problem occurred evaluating project ':eps-store'.
> Project with path ':common-utils' could not be found in project ':eps-store'.
In eps-store/build.gradle
We can see line 11 in the screenshot
However
eps-store % ./gradlew clean
> Configure project :
/Users/eric.kolotyluk/git/autonomous-iam/eps/eps-store
/Users/eric.kolotyluk/git/autonomous-iam/jas/common-utils
Exists : true
Using DB: cassandra
> Configure project :elastic-store
Using INDEXER: elastic
> Configure project :opensearch-store
Using INDEXER: elastic
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See <https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings>
BUILD SUCCESSFUL in 741msEric Kolotyluk
02/09/2023, 1:01 AM