You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2022/08/29 06:28:36 UTC
[groovy] 02/07: Move repos into settings.gradle
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_4_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
commit cf6613ecc1d9b46bb9f96b0f8fc40421f9399ed0
Author: Goooler <wa...@gmail.com>
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 5eafe8ab8f..74df10a84d 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"
}