2022.2
This version will only work with gradle 7+, use 2021.3 with gradle 5.5+
mavenCentral()
the plugin does no longer automatically add mavenCentral() to the repositories. It still adds the openapi-processor snapshot repository. This can be disabled by adding openapi-processor-gradle.snapshots = false to the gradle.properties file.
published to maven central
the plugin builds are published to maven central (snapshots/releases) in addition to the gradle plugin portal.
Sometimes it is useful to try a special plugin version instead of the published plugin from the plugin portal. For example to try a snapshot or test version of the plugin.
This is possible by configuring the repositories checked for plugins using a pluginManagement block in settings.gradle (this must be at the top of the file). The example below adds the snapshot repository of the gradle plugin.
// build.gradle
plugins {
id 'io.openapiprocessor.openapi-processor" version "2022.2-SNAPSHOT'
}
// settings.gradle
pluginManagement {
repositories {
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
gradlePluginPortal()
}
}
// ...