Boolean properties in gradle.properties file is read as string July 24, 2023 by Tarik I had the same problem, but I just converted it to boolean like this: if (enableGradleApp.toBoolean()) { .... }