Skip to content
Snippets Groups Projects
Commit ddaf3582 authored by Georg Seibt's avatar Georg Seibt :nerd:
Browse files

Update wrapper task configuration syntax for the upcoming Gradle 5.0.

parent 8aff9fee
No related branches found
No related tags found
No related merge requests found
import org.gradle.api.tasks.wrapper.Wrapper
import org.gradle.api.tasks.wrapper.Wrapper.DistributionType
plugins {
id 'java'
id 'idea'
......@@ -26,8 +23,8 @@ dependencies {
compile 'commons-io:commons-io:2.5'
}
task wrapper(type: Wrapper) {
distributionType DistributionType.ALL
wrapper {
distributionType Wrapper.DistributionType.ALL
gradleVersion '4.8.1'
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment