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 2020/07/22 01:33:55 UTC

[groovy-website] branch asf-site updated: minor clarification

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new f8a0b23  minor clarification
f8a0b23 is described below

commit f8a0b23fb2cd023ee426d2d9c310fa815914bfcd
Author: Paul King <pa...@asert.com.au>
AuthorDate: Wed Jul 22 11:33:38 2020 +1000

    minor clarification
---
 site/src/site/releasenotes/groovy-3.0.adoc | 80 +++++++++++++++++++++++++++---
 1 file changed, 74 insertions(+), 6 deletions(-)

diff --git a/site/src/site/releasenotes/groovy-3.0.adoc b/site/src/site/releasenotes/groovy-3.0.adoc
index 848f88b..9ab1515 100644
--- a/site/src/site/releasenotes/groovy-3.0.adoc
+++ b/site/src/site/releasenotes/groovy-3.0.adoc
@@ -887,20 +887,88 @@ For further details see (link:https://issues.apache.org/jira/browse/GROOVY-9492[
 == Addendum for 3.0.4
 
 We bumped the Groovy dependency for TestNG to 7.2.0. Unfortunately, at the time of release, that version exists only in jcenter,
-not Maven central. If you are using the groovy-all pom or bom, you can add jcenter as a repository if not already listed:
+not Maven central. If you are using the groovy-all pom or bom, you can add jcenter as a repository to your configuration if not already listed:
+
+++++
+<details open>
+<summary>Gradle: build.gradle</summary>
+++++
+
 [source,groovy]
---------------------------------------
+----
 repositories {
     jcenter()
     ...
 }
---------------------------------------
+----
+
+++++
+</details>
+++++
+
+++++
+<details>
+<summary>Maven: pom.xml</summary>
+++++
+
+[source,xml]
+----
+<repositories>
+  <repository>
+    <id>central</id>
+    <name>bintray</name>
+    <url>http://jcenter.bintray.com</url>
+  </repository>
+</repositories>
+----
+
+++++
+</details>
+++++
+
 Alternatively, if you are not using TestNG, you can exclude `groovy-testng`, e.g.:
+
+++++
+<details open>
+<summary>Gradle: build.gradle</summary>
+++++
+
 [source,groovy]
---------------------------------------
+----
 dependencies {
-    implementation("org.codehaus.groovy:groovy-all:$groovyVersion") {
+    implementation("org.codehaus.groovy:groovy-all:3.0.4") {
         exclude(group: 'org.codehaus.groovy', module: 'groovy-testng')
     }
 }
---------------------------------------
+----
+
+++++
+</details>
+++++
+
+++++
+<details>
+<summary>Maven: pom.xml</summary>
+++++
+
+[source,xml]
+----
+<dependencies>
+  <dependency>
+    <groupId>org.codehaus.groovy</groupId>
+    <artifactId>groovy-all</artifactId>
+    <version>3.0.4</version>
+    <scope>compile</scope>
+    <exclusions>
+      <exclusion>
+        <groupId>org.codehaus.groovy</groupId>
+        <artifactId>groovy-testng</artifactId>
+      </exclusion>
+    </exclusions>
+  </dependency>
+</dependencies>
+----
+
+++++
+</details>
+++++