diff --git a/just_audio/example/android/build.gradle b/just_audio/example/android/build.gradle index 0b4cf534e..06f2b41dc 100644 --- a/just_audio/example/android/build.gradle +++ b/just_audio/example/android/build.gradle @@ -24,6 +24,6 @@ subprojects { project.evaluationDependsOn(':app') } -task clean(type: Delete) { +tasks.register("clean", Delete) { delete rootProject.buildDir } diff --git a/just_audio_background/example/android/build.gradle b/just_audio_background/example/android/build.gradle index 997109444..069456ae8 100644 --- a/just_audio_background/example/android/build.gradle +++ b/just_audio_background/example/android/build.gradle @@ -24,6 +24,6 @@ subprojects { project.evaluationDependsOn(':app') } -task clean(type: Delete) { +tasks.register("clean", Delete) { delete rootProject.buildDir }