Skip to content

Not able to utilise the plugin #56

Answered by ImFlog
DiljeetKaur-ELS asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @DiljeetKaur-ELS,
Thank you for the interest on the plugin.
The reason it is not working is because you are defining repositories for your build and not repositories for the plugins.
As stated in the readme you need to add the repository in a buildscript {} block. I tried on my computer and here is what your build.gradle.kts should look like:

plugins {
	id("java")
	id("org.springframework.boot") version "2.4.4"
	id("io.spring.dependency-management") version "1.0.11.RELEASE"
	id("com.github.imflog.kafka-schema-registry-gradle-plugin") version "1.2.0"
	id("com.github.davidmc24.gradle.plugin.avro") version "1.0.0"
}

// The buildscript block was the missing part.
buildscript {
	reposit…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ImFlog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants