This is an automated email from the ASF dual-hosted git repository. paulk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/groovy.git
commit f8311c872c36b8f103fe9a59fee58ccff0e82e00 Author: Goooler <[email protected]> AuthorDate: Sun Aug 14 00:52:11 2022 +0800 Move repos into settings.gradle --- build.gradle | 19 +------------------ settings.gradle | 8 ++++++++ 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/build.gradle b/build.gradle index 304ea47d55..6761dfb99c 100644 --- a/build.gradle +++ b/build.gradle @@ -16,28 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -buildscript { - repositories { - mavenCentral() -// maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } - maven { - url "https://plugins.gradle.org/m2/" - } - maven { - url 'https://jitpack.io' - } - } - - dependencies { - //classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.11.0' - classpath "gradle.plugin.com.github.jk1:gradle-license-report:1.3" - } -} - plugins { id 'me.champeau.buildscan-recipes' version '0.2.3' id 'com.github.ben-manes.versions' version '0.42.0' id 'com.github.blindpirate.osgi' version '0.0.6' + id "com.github.jk1.dependency-license-report" version "1.3" id 'org.sonarqube' version '3.0' id 'org.apache.groovy-core' id 'java-test-fixtures' diff --git a/settings.gradle b/settings.gradle index d83b6fb1c2..ee0e934b2a 100644 --- a/settings.gradle +++ b/settings.gradle @@ -18,6 +18,14 @@ */ import org.gradle.util.GradleVersion +pluginManagement { + repositories { + gradlePluginPortal() + mavenCentral() +// maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } + } +} + plugins { id "com.gradle.enterprise" version "3.5.2" }
