From 7199a25da69e8a79f3ad02f80324efcb0de8d51a Mon Sep 17 00:00:00 2001 From: James Daugherty Date: Thu, 12 Dec 2024 18:12:56 -0500 Subject: [PATCH] Move grails-publish to the plugin block --- build.gradle | 2 +- settings.gradle | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index fe37078..1ed3979 100644 --- a/build.gradle +++ b/build.gradle @@ -9,6 +9,7 @@ buildscript { plugins { id 'com.github.ben-manes.versions' version '0.51.0' + id 'org.grails.grails-publish' } version = projectVersion @@ -17,7 +18,6 @@ group = 'org.grails.plugins' apply plugin: 'java-library' apply plugin: 'java-test-fixtures' apply plugin: 'org.grails.grails-plugin' -apply plugin: 'org.grails.grails-publish' tasks.withType(JavaCompile).configureEach { options.release = 17 diff --git a/settings.gradle b/settings.gradle index fadee26..36a3763 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,3 +1,13 @@ +pluginManagement { + repositories { + maven { url "https://repo.grails.org/grails/core/" } + gradlePluginPortal() + } + plugins { + id "org.grails.grails-publish" version "${grailsGradlePluginVersion}" + } +} + plugins { id 'com.gradle.develocity' version '3.18.2' id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'