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'