gradle-plugins/settings.gradle

62 lines
3.3 KiB
Groovy

dependencyResolutionManagement {
versionCatalogs {
libs {
version('gradle', '8.7')
version('groovy', '3.0.17') // MUST match gradle groovy version
// Java 21
version('asm', '9.6')
// Attention: it is impossible to develop a gradle plugin with groovy 4!
// The gradle plugin publish plugin enforces java-gradle-plugin,
// and java-gradle-plugin enforces the embedded groovy of gradle on the compile classpath.
// we keep this here as reference when Gradle switches to Groovy 4+
//library('groovy-bom', 'org.apache.groovy', 'groovy-bom').versionRef('groovy')
//library('groovy', 'org.apache.groovy', 'groovy').versionRef('groovy')
library('asm', 'org.ow2.asm', 'asm').versionRef('asm')
library('asm-commons', 'org.ow2.asm', 'asm-commons').versionRef('asm')
library('asm-util', 'org.ow2.asm', 'asm-util').versionRef('asm')
library('asciidoctorj', 'org.asciidoctor', 'asciidoctorj').version('2.5.11')
library('jruby', 'org.jruby', 'jruby').version('9.4.5.0')
library('jflex', 'de.jflex', 'jflex').version('1.9.1')
library('jacc', 'org.xbib', 'jacc').version('3.0.0')
library('rpm', 'org.xbib', 'rpm-core').version('4.0.0')
// MUST be groovy 3 dependency
library('groovy-git', 'org.xbib.groovy', 'groovy-git').version('3.0.22.0')
library('jsoup', 'org.jsoup', 'jsoup').version('1.17.2')
library('javapoet', 'com.squareup', 'javapoet').version('1.13.0')
plugin('publish', 'com.gradle.plugin-publish').version('1.2.1')
}
testLibs {
version('junit', '5.10.2')
version('spock', '2.3-groovy-3.0')
library('junit-jupiter-api', 'org.junit.jupiter', 'junit-jupiter-api').versionRef('junit')
library('junit-jupiter-params', 'org.junit.jupiter', 'junit-jupiter-params').versionRef('junit')
library('junit-jupiter-engine', 'org.junit.jupiter', 'junit-jupiter-engine').versionRef('junit')
library('junit-jupiter-vintage', 'org.junit.vintage', 'junit-vintage-engine').versionRef('junit')
library('junit-jupiter-platform-launcher', 'org.junit.platform', 'junit-platform-launcher').version('1.10.1')
library('hamcrest', 'org.hamcrest', 'hamcrest-library').version('2.2')
library('junit4', 'junit', 'junit').version('4.13.2')
library('spock-bom', 'org.spockframework', 'spock-bom').versionRef('spock')
library('spock-core', 'org.spockframework', 'spock-core').versionRef('spock')
library('spock-junit4', 'org.spockframework', 'spock-junit4').versionRef('spock')
library('jsoup', 'org.jsoup', 'jsoup').version('1.17.2')
}
}
}
include 'gradle-plugin-asciidoctor'
include 'gradle-plugin-c'
include 'gradle-plugin-cmake'
include 'gradle-plugin-docker'
include 'gradle-plugin-git'
include 'gradle-plugin-j2html'
include 'gradle-plugin-jacc'
include 'gradle-plugin-java-conventions'
include 'gradle-plugin-jdeps'
include 'gradle-plugin-jflex'
include 'gradle-plugin-jlink'
include 'gradle-plugin-jpackage'
include 'gradle-plugin-rpm'
include 'gradle-plugin-settings-conventions'
include 'gradle-plugin-shadow'
include 'gradle-plugin-sonatype-publish'