Gradle 5.1.1 released

Gradle 5.1.1 is out!
:closed_lock_with_key: Repository-to-dependency matching
:gear: Kotlin DSL 1.1
:zap: Configuration avoidance APIs

Release Notes: https://docs.gradle.org/5.1.1/release-notes.html

In reference to the following section in the docs

repositories {
    maven {
        url "https://repo.mycompany.com"
        content {
           includeGroupByRegex "com\\.mycompany.*"
        }
    }
}

People are likely to copy/paste/tweak this into their build scripts. I think the regex would be better as something like

includeGroupByRegex "com\\.mycompany(\\..+)*"

Instead of

includeGroupByRegex "com\\.mycompany.*"

This will avoid cases where “com.foobar.xxx” will get picked up by the regex “com.foo.*”

1 Like

Would be even better if we had includeGroupByPrefix, so that we didn’t have to think about regular expressions when configuring a build.

1 Like