recognizing dependencies in buildSrc project with gradle.kts #7953
Replies: 22 comments
-
Your log is truncated, we need the full log |
Beta Was this translation helpful? Give feedback.
-
Please provide a public reproduction repo |
Beta Was this translation helpful? Give feedback.
-
@viceice, sorry, didn't notice what log is truncated About public reproduction repo: we have private bitbacked and private registry. We start renovatebot with gitBush (file - start.sh) is that enough or is it necessary to make a fully working project? |
Beta Was this translation helpful? Give feedback.
-
in log i see my file: DEBUG: Matched 15 file(s) for manager gradle: build.gradle.kts, buildSrc/build.gradle.kts, ... but after i dont see what renovate try update version of plugin id("org.springframework.boot") version "2.2.4.RELEASE" and version dependency "implementation("org.springframework.boot:spring-boot-gradle-plugin:2.2.4.RELEASE")" |
Beta Was this translation helpful? Give feedback.
-
So is the title of this issue wrong? |
Beta Was this translation helpful? Give feedback.
-
@rarkins yes! But i dont know what is the problem to rename the title |
Beta Was this translation helpful? Give feedback.
-
This is why a reproduction repository is important, otherwise we have little chance of guessing |
Beta Was this translation helpful? Give feedback.
-
@rarkins i do it, but it's update only version Gradle(
now i see error
|
Beta Was this translation helpful? Give feedback.
-
Sorry, but I don't understand |
Beta Was this translation helpful? Give feedback.
-
@rarkins sorry, I had to explain in more detail
build.gradle.kts: buildSrc/build.gradle.kts: gradle/wrapper/gradle-wrapper.properties
|
Beta Was this translation helpful? Give feedback.
-
Is that the same error that you get when you run on your private server? |
Beta Was this translation helpful? Give feedback.
-
For example based on that error message, it's possible that the token you use does not have permissions to push |
Beta Was this translation helpful? Give feedback.
-
No! on the private server i get no errors( And no PR((( Yes, it's my fault (extra space after the token)!. Now i have 2 PR!! Progress)))
But RP does not exist. Same with kotlin("jvm") version "1.3.60" ->"1.3.71" - No PR, but logs contains update |
Beta Was this translation helpful? Give feedback.
-
Looking at the log, it collapses 25 updates into 4 branches:
There is an unrelated error you can ignore as it's caused by a changelog file being > 1MB:
Further down you can see this:
So please run again after the next hour starts, or add |
Beta Was this translation helpful? Give feedback.
-
today i try to experiment with plugin:
|
Beta Was this translation helpful? Give feedback.
-
It is 2 in So the problem is that one dependency is never detected? Are any other dependencies detected in the same file? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I think the problem may be that the gradle task Renovate does not collect dependencies from the buildSrc project. I apply Spring to the main project, but git-properties does not. Git-properties just define in buildSrc project. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@rarkins i move this plugin to root build and it work) i see PR on git-property! |
Beta Was this translation helpful? Give feedback.
-
This seems like a bug to me. @ikesyo can you confirm? |
Beta Was this translation helpful? Give feedback.
-
Which Renovate are you using?
Renovate Open Source CLI
Which platform are you using?
Bitbucket Server
Have you checked the logs? Don't forget to include them if relevant
fullLog.txt
What would you like to do?
I want update version spring in file buildSrc/build.gradle.kts
i find default regex for my template(gradle) '\.gradle(\.kts)?$'
i'ts look like it regex must find my file with twice match in it, but NO! i can't see any PR
my buildSrc/build.gradle.kts (trimmed)
my config (trimmed)
Beta Was this translation helpful? Give feedback.
All reactions