The Quarkus Gradle plugin is published to the Gradle Plugin Portal.
To use it, add the following to your build.gradle
file:
plugins {
id 'java'
id 'io.quarkus'
}
You also need to add the following at the top of your settings.gradle
file:
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
}
plugins {
id 'io.quarkus' version "${quarkusPluginVersion}"
}
}
- NOTE
-
the
plugins{}
method insettings.gradle
is not supported in Gradle 5.x. In this case make sure to explicitly declare the plugin version in thebuild.gradle
file like the example below:
plugins {
id 'java'
id 'io.quarkus' version '2.2.4.Final'
}