diff --git a/OsmAnd/build.gradle b/OsmAnd/build.gradle index 046b449f2e..3175b9354d 100644 --- a/OsmAnd/build.gradle +++ b/OsmAnd/build.gradle @@ -291,7 +291,7 @@ task downloadWorldMiniBasemap { task setupHuaweiConfig { doLast { if (System.getenv("HUAWEI_SDK_JSON")) { - new File("OsmAnd/agconnect-services.json").text = System.getenv("HUAWEI_SDK_JSON") + file("agconnect-services.json").text = System.getenv("HUAWEI_SDK_JSON") } } }