Add .nomedia file to Android assets (#10047)
authorrubenwardy <rw@rubenwardy.com>
Thu, 18 Jun 2020 17:24:38 +0000 (18:24 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Jun 2020 17:24:38 +0000 (18:24 +0100)
build/android/app/build.gradle

index 00b8806bf848f3c55dcede0b0fc3423743489568..4a4559d65717d455ddd577f68f500214d0d3384c 100644 (file)
@@ -83,6 +83,8 @@ task prepareAssets() {
                from "${projRoot}/textures" into "${assetsFolder}/textures"
        }
 
+       file("${assetsFolder}/.nomedia").text = "";
+
        task zipAssets(type: Zip) {
                archiveName "Minetest.zip"
                from "${assetsFolder}"