Gradle not using maven profiles correctly

Gradle Version: 2.5
Operating System and JVM version: Windows 10, Java 1.8.0_91
Is this a regression? Not that I’m aware of.

group 'MFC'
version '1.0-SNAPSHOT'

apply plugin: 'java'

sourceCompatibility = 1.5

repositories {
    mavenCentral()
}

dependencies {
    compile 'com.sikulix:sikulixapi:1.1.0'
    testCompile group: 'junit', name: 'junit', version: '4.11'
}

The above gradle file will not build due to this pom file using profiles in a dependency, the following is the excerpt in question.

<profiles>
<profile>
<id>Windows</id>
<activation>
<os>
<family>windows</family>
</os>
</activation>
<properties>
<sikulix.libs>sikulixlibswin</sikulix.libs>
</properties>
</profile>
<profile>
<id>Unix</id>
<activation>
<os>
<family>unix</family>
</os>
</activation>
<properties>
<sikulix.libs>sikulixlibslux</sikulix.libs>
</properties>
</profile>
<profile>
<id>Mac</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<sikulix.libs>sikulixlibsmac</sikulix.libs>
</properties>
</profile>
</profiles>

<dependency>
<groupId>com.sikulix</groupId>
<artifactId>${sikulix.libs}</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>