Gradlew build single module doesn't work

Hello. I have a problem with build single module from Gradle multimodule project. I have a structure:

   - setting.gradle.kts
   - build.gradle.kts

setting.gradle.kts = "my-project"


When I run ./gradlew clean build , each module builds. When I run ./gradlew first-module:clean first-module:build , builds only first-module. But when I run ./gradlew modules:first-submodules:clean modules:first-build , I got error:

* What went wrong:
Project 'first-submodules' not found in project ':modules'.

How can I build only first-submodules or all submodules in modules?