I'm using Renovate to keep my dependencies up to d...
# community-support
e
I'm using Renovate to keep my dependencies up to date. When they detect that there is an updated version of Gradle available, they run the wrapper task to update the version in
gradle/wrapper/gradle-wrapper.properties
, update
gradle/wrapper/gradle-wrapper.jar
, and update `gradlew`/`gradlew.bat`. My project is rather large, so running that task causes their job to fail with an OOM. Is there any way to run a "lightweight" wrapper task so my whole project doesn't have tobe configured, etc?
j
You could try to hack something like this in _settings_:
Copy code
// In case of 'wrapper' our project should appear empty
if (gradle.startParameter.taskNames == listOf("wrapper")) {
    rootProject.buildFileName = "does-not-exist.gradle"
    // do not do all your 'include', so the project has no subprojects
}
👀 1
v
"do not do" could also be "return" iirc
e
if you're not customizing the wrapper task, just run it in a new project and copy the wrapper over
e
I suggested that, but I don't have control over the execution since Renovate runs it on their hosted service.