Unable to get gradle avro schema registry plugin workig

I want to get avro schema registry plugin working. Below is my build.gradle file.

plugins {
id ‘java’
id ‘maven’
id “com.github.imflog.kafka-schema-registry-gradle-plugin” version “0.5.0”

}

repositories {
mavenLocal()
maven {
url = ‘https://packages.confluent.io/maven/
}

maven {
    url = 'http://repo.maven.apache.org/maven2'
}

  maven {
  url "https://plugins.gradle.org/m2/"
}

}

dependencies {
compile ‘io.confluent:kafka-avro-serializer:5.0.0’
compile ‘org.apache.kafka:kafka-clients:2.0.0-cp1’
compile ‘org.apache.avro:avro:1.8.2’
compile ‘com.google.code.gson:gson:2.2.4’
testCompile ‘junit:junit:4.11’
}

group = ‘io.confluent’
version = ‘5.0.0’
sourceCompatibility = ‘1.8’

tasks.withType(JavaCompile) {
options.encoding = ‘UTF-8’
}

while building I get below error. Can someone please help.
What went wrong:
Plugin [id: ‘com.github.imflog.kafka-schema-registry-gradle-plugin’, version: ‘0.5.0’] was not found in any of the following sources:

  • Gradle Core Plugins (plugin is not in ‘org.gradle’ namespace)
  • Plugin Repositories (could not resolve plugin artifact ‘com.github.imflog.kafka-schema-registry-gradle-plugin:com.github.imflog.kafka-schema-registry-gradle-plugin.gradle.plugin:0.5.0’)
    Searched in the following repositories:
    Gradle Central Plugin Repository