diff --git a/android/build.gradle b/android/build.gradle index c6d3e99a..9f902223 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -21,9 +21,9 @@ allprojects { } } -rootProject.layout.buildDirectory = '../build' +rootProject.buildDir = '../build' subprojects { - project.layout.buildDirectory = "${rootProject.layout.buildDirectory}/${project.name}" + project.buildDir = "${rootProject.buildDir}/${project.name}" } subprojects { afterEvaluate { @@ -46,5 +46,5 @@ subprojects { } tasks.register("clean", Delete) { - delete rootProject.layout.buildDirectory + delete rootProject.buildDir }