Looking for a Maven plugin? Check oga-maven-plugin.
A Gradle plugin that checks for deprecated groupId artifactId couples, in order to reduce usage of non-maintained 3rd-party code (e.g. did you know that artifact graphql-spring-boot-starter
moved from from com.graphql-java
to com.graphql-java-kickstart
?).
Tested with Gradle 4.10.3, 5.6.4, 6.9.1 and 7.3.1 on JDK8 and JDK11.
Jonathan Lermitage ([email protected])
Linkedin profile: jonathan-lermitage-092711142
Using the plugins DSL:
plugins {
id "biz.lermitage.oga" version "1.1.1"
}
Otherwise, using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.biz.lermitage.oga:oga-gradle-plugin:1.1.1"
}
}
apply plugin: "biz.lermitage.oga"
Then launch ./gradlew biz-lermitage-oga-gradle-check
. If any deprecated groupId artifactId couple is found, error message(s) will be displayed and the Gradle build will fail.
See plugins.gradle.org/plugin/biz.lermitage.oga for details.
./gradlew build
Open an issue or a pull-request. Contributions must be tested at least on JDK8.
Please reformat new code only: do not reformat the whole project or entire existing file (in other words, try do limit the amount of changes in order to speed up code review).
See oga-maven-plugin#definitions-file. The same definitions file is used for both Maven and Gradle plugins.
See oga-maven-plugin#find-new-entries-for-definitions-file.
MIT License. In other words, you can do what you want: this project is entirely OpenSource, Free and Gratis.