Inconsistent module metadata when trying to get SWT from Maven

I’m trying to use the Eclipse SWT in a project, but when I try to build the project, I get a ‘inconsistent module metadata found. Descriptor: org.eclipse.swt:org.eclipse.swt.gtk.linux.x86:4.3 Errors: bad group: expected=‘org.eclipse.swt.org.eclipse.swt.gtk.linux.x86.4.3.swt’ found=‘org.eclipse.swt’’

My build.gradle is:

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'me.tinhtruong.gradle.plugin:gradle-os-plugin:1.0'
    }
}
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'os'
  sourceCompatibility = 1.7
version = '1.0'
mainClassName = 'com.test.HelloWorld'
  repositories {
    mavenCentral()
}
  dependencies {
    windows {
        compile 'org.eclipse.swt.org.eclipse.swt.win32.win32.x86.4.3.swt:org.eclipse.swt.win32.win32.x86:4.3'
    }
    macOs {
        compile 'org.eclipse.swt.org.eclipse.swt.cocoa.macosx.4.3.swt:org.eclipse.swt.cocoa.macosx:4.3'
    }
    unix {
        compile "org.eclipse.swt.org.eclipse.swt.gtk.linux.x86.4.3.swt:org.eclipse.swt.gtk.linux.x86:4.3"
    }
      testCompile group: 'junit', name: 'junit', version: '4.11'
}

And the debug output is located at: http://pastebin.com/htcvLRs2