Historically and by default, Gradle uses a Domain Specific Language (DSL) based on Groovy for writing build scripts (e.g., build.gradle). While Kotlin DSL is also supported now, Groovy is the traditional and widely recognized language for Gradle configurations.