diff --git a/resourcemanager/src/main/kotlin/dev/randos/resourcemanager/manager/ModuleManager.kt b/resourcemanager/src/main/kotlin/dev/randos/resourcemanager/manager/ModuleManager.kt index fecf781..d52ccb7 100644 --- a/resourcemanager/src/main/kotlin/dev/randos/resourcemanager/manager/ModuleManager.kt +++ b/resourcemanager/src/main/kotlin/dev/randos/resourcemanager/manager/ModuleManager.kt @@ -110,7 +110,7 @@ internal class ModuleManager(private val moduleFile: File) { // Define regex pattern for the style of namespace val namespacePattern = - Regex("\\s*namespace\\s*=\\s*[\"'](.+)[\"']") // Matches: namespace = "com.example.app" + Regex("\\s*namespace\\s*=?\\s*[\"'](.+)[\"']") // Matches: namespace = "com.example.app" var isBlockComment = false val lines = gradleFile.readLines().filter { it.isNotBlank() }