grv87 / gradle-prerequisites-plugin

Provides prerequisites lifecycle to Gradle
Apache License 2.0
0 stars 0 forks source link

Integrate with Gradle Wrapper #4

Open grv87 opened 6 years ago

grv87 commented 6 years ago

We could (try to) integrate with Gradle Wrapper if we finalize gradlew task with running that new Gradle version wrapper task. We should be able to overwrite current Gradle wrapper files without interfering with current run since it is exactly what second run does.

grv87 commented 5 years ago

It is actually a Gradle issue - see https://github.com/gradle/gradle/issues/884

grv87 commented 5 years ago

Current Gradle implementation actually interferes with current run, see https://github.com/gradle/gradle/issues/7883.

See https://stackoverflow.com/questions/17181342/how-to-get-a-windows-batch-file-to-update-itself-safely for probable workarounds.