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 2019/02/21 09:51:43 UTC
[groovy] branch master updated (66a9883 -> bd2bd6a)
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git.
from 66a9883 GROOVY-8991: Difference in behaviour with closure and lambda(closes #878)
new 7bb545e fix broken asciidoc reference
new bd2bd6a change some http references in the build to use https
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
README.adoc | 4 ++--
build.gradle | 13 +++++-----
gradle/asciidoctor.gradle | 8 +++----
gradle/docs.gradle | 28 +++++++++++-----------
gradle/pomconfigurer.gradle | 10 ++++----
.../groovy-xml/src/spec/doc/xml-userguide.adoc | 4 ++--
6 files changed, 33 insertions(+), 34 deletions(-)
[groovy] 02/02: change some http references in the build to use
https
Posted by pa...@apache.org.
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 bd2bd6a3ccd0391f487140939e3093994f6f82a9
Author: Paul King <pa...@asert.com.au>
AuthorDate: Thu Feb 21 19:51:17 2019 +1000
change some http references in the build to use https
---
README.adoc | 4 ++--
build.gradle | 13 ++++++-------
gradle/asciidoctor.gradle | 8 ++++----
gradle/docs.gradle | 28 ++++++++++++++--------------
gradle/pomconfigurer.gradle | 10 +++++-----
5 files changed, 31 insertions(+), 32 deletions(-)
diff --git a/README.adoc b/README.adoc
index 67a2c5e..9e16fd5 100644
--- a/README.adoc
+++ b/README.adoc
@@ -25,10 +25,10 @@ The Groovy development team
:build-icon: http://ci.groovy-lang.org:8111/app/rest/builds/buildType:(id:Groovy_Jdk7Build)/statusIcon
:travis-build-icon: https://travis-ci.org/apache/groovy.svg?branch=master
:noheader:
-:groovy-www: http://groovy-lang.org/
+:groovy-www: https://groovy-lang.org/
:groovy-ci: http://ci.groovy-lang.org?guest=1
:travis-ci: https://travis-ci.org/apache/groovy
-:jdk: http://www.oracle.com/technetwork/java/javase/downloads
+:jdk: https://www.oracle.com/technetwork/java/javase/downloads
:bintray-latest-version-image: https://api.bintray.com/packages/groovy/maven/groovy/images/download.png
:bintray-latest-version-link: https://bintray.com/groovy/maven/groovy/_latestVersion
:bintray-watch-image: https://www.bintray.com/docs/images/bintray_badge_color.png
diff --git a/build.gradle b/build.gradle
index 6e9d167..46f5095 100644
--- a/build.gradle
+++ b/build.gradle
@@ -22,13 +22,13 @@ buildscript {
repositories {
if (rootProject.hasProperty('buildInChina')) {
// Try to use Aliyun maven repository when building in China
- maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
+ maven { url 'https://maven.aliyun.com/nexus/content/groups/public' }
}
jcenter()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven{
name 'Bintray Javadoc Hotfix repo'
- url 'http://dl.bintray.com/melix/gradle-javadoc-hotfix-plugin'
+ url 'https://dl.bintray.com/melix/gradle-javadoc-hotfix-plugin'
}
maven {
url "https://plugins.gradle.org/m2/"
@@ -93,11 +93,11 @@ allprojects {
repositories {
if (rootProject.hasProperty('buildInChina')) {
// Try to use Aliyun maven repository when building in China
- maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
+ maven { url 'https://maven.aliyun.com/nexus/content/groups/public' }
}
jcenter()
- maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
- maven { url 'http://dl.bintray.com/melix/thirdparty-apache' } // openbeans
+// maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
+ maven { url 'https://dl.bintray.com/melix/thirdparty-apache' } // openbeans
}
ext.buildDate = isReleaseVersion?new Date():new Date(0)
@@ -130,8 +130,7 @@ test.dependsOn(copyTestResources)
repositories {
// todo Some repos are needed only for some configs. Declare them just for the configuration once Gradle allows this.
- maven { url 'http://repository.jboss.org/nexus/content/groups/m2-release-proxy' } // tools
- maven { url 'http://repo.bodar.com' } // tools - jarjar
+ maven { url 'https://repository.jboss.org/nexus/content/groups/m2-release-proxy' } // tools
}
configurations {
diff --git a/gradle/asciidoctor.gradle b/gradle/asciidoctor.gradle
index 90f352b..b0cb0bc 100644
--- a/gradle/asciidoctor.gradle
+++ b/gradle/asciidoctor.gradle
@@ -48,10 +48,10 @@ asciidoctor {
extensions {
def baseUrls = [
- jdk: "http://docs.oracle.com/javase/8/docs/api/index.html",
- gjdk: "http://docs.groovy-lang.org/${version}/html/groovy-jdk/index.html",
- gapi: "http://docs.groovy-lang.org/${version}/html/gapi/index.html",
- gapid: "http://docs.groovy-lang.org/${version}/html/gapi/",
+ jdk: "https://docs.oracle.com/javase/8/docs/api/index.html",
+ gjdk: "https://docs.groovy-lang.org/${version}/html/groovy-jdk/index.html",
+ gapi: "https://docs.groovy-lang.org/${version}/html/gapi/index.html",
+ gapid: "https://docs.groovy-lang.org/${version}/html/gapi/",
]
baseUrls.each { macroName, baseURL ->
diff --git a/gradle/docs.gradle b/gradle/docs.gradle
index 76a9302..9e51793 100644
--- a/gradle/docs.gradle
+++ b/gradle/docs.gradle
@@ -41,9 +41,9 @@ def javadocSpec = {
overview = rootProject.file('src/main/java/overviewj.html')
footer = doc.footer
source = '1.8'
- links('http://docs.oracle.com/javase/8/docs/api/', 'http://docs.oracle.com/javaee/7/api/',
- 'http://commons.apache.org/proper/commons-cli/javadocs/api-release/', 'http://junit.org/junit4/javadoc/latest/',
- 'http://docs.oracle.com/javaee/6/api/', 'http://www.antlr2.org/javadoc/')
+ links('https://docs.oracle.com/javase/8/docs/api/', 'https://docs.oracle.com/javaee/7/api/',
+ 'https://commons.apache.org/proper/commons-cli/javadocs/api-release/', 'https://junit.org/junit4/javadoc/latest/',
+ 'https://docs.oracle.com/javaee/6/api/', 'https://www.antlr2.org/javadoc/')
}
}
@@ -55,15 +55,15 @@ def groovydocBaseSpec = {
footer = doc.footer
overviewText = rootProject.resources.text.fromFile('src/main/java/overview.html')
includePrivate = false
- link 'http://docs.oracle.com/javaee/7/api/', 'javax.servlet.', 'javax.management.'
- link 'http://docs.oracle.com/javase/8/docs/api/', 'java.', 'org.xml.', 'javax.', 'org.w3c.'
- link 'http://docs.groovy-lang.org/docs/ant/api/', 'org.apache.ant.', 'org.apache.tools.ant.'
- link 'http://junit.org/junit4/javadoc/latest/', 'org.junit.', 'junit.'
- link 'http://junit.org/junit5/docs/current/api/', 'org.junit.jupiter.', 'org.junit.platform.'
- link 'http://www.antlr2.org/javadoc/', 'antlr.'
- link 'http://www.antlr.org/api/Java/', 'org.antlr.v4.'
- link 'http://commons.apache.org/proper/commons-cli/javadocs/api-release/', 'org.apache.commons.cli.'
- link 'http://picocli.info/apidocs/', 'picocli.'
+ link 'https://docs.oracle.com/javaee/7/api/', 'javax.servlet.', 'javax.management.'
+ link 'https://docs.oracle.com/javase/8/docs/api/', 'java.', 'org.xml.', 'javax.', 'org.w3c.'
+ link 'https://docs.groovy-lang.org/docs/ant/api/', 'org.apache.ant.', 'org.apache.tools.ant.'
+ link 'https://junit.org/junit4/javadoc/latest/', 'org.junit.', 'junit.'
+ link 'https://junit.org/junit5/docs/current/api/', 'org.junit.jupiter.', 'org.junit.platform.'
+ link 'https://www.antlr2.org/javadoc/', 'antlr.'
+ link 'https://www.antlr.org/api/Java/', 'org.antlr.v4.'
+ link 'https://commons.apache.org/proper/commons-cli/javadocs/api-release/', 'org.apache.commons.cli.'
+ link 'https://picocli.info/apidocs/', 'picocli.'
}
def groovydocSpec = groovydocBaseSpec >> {
@@ -139,9 +139,9 @@ task docGDK {
arg(value: '-title')
arg(value: 'Groovy JDK enhancements')
arg(value: '-link')
- arg(value: 'groovy,org.codehaus.groovy=http://docs.groovy-lang.org/latest/html/gapi/')
+ arg(value: 'groovy,org.codehaus.groovy=https://docs.groovy-lang.org/latest/html/gapi/')
arg(value: '-link')
- arg(value: 'java,org.xml,javax,org.w3c=http://docs.oracle.com/javase/8/docs/api/')
+ arg(value: 'java,org.xml,javax,org.w3c=https://docs.oracle.com/javase/8/docs/api/')
// either package name if in core or fully qualified path otherwise
arg(value: 'org.codehaus.groovy.runtime.DefaultGroovyMethods')
arg(value: 'org.codehaus.groovy.runtime.DefaultGroovyStaticMethods')
diff --git a/gradle/pomconfigurer.gradle b/gradle/pomconfigurer.gradle
index 2531b14..a387845 100644
--- a/gradle/pomconfigurer.gradle
+++ b/gradle/pomconfigurer.gradle
@@ -29,11 +29,11 @@ project.ext.pomConfigureClosureWithoutTweaks = {
project {
name 'Apache Groovy'
description 'Groovy: A powerful, dynamic language for the JVM'
- url 'http://groovy-lang.org'
+ url 'https://groovy-lang.org'
inceptionYear '2003'
organization {
name 'Apache Software Foundation'
- url 'http://apache.org'
+ url 'https://apache.org'
}
developers {
developer {
@@ -828,11 +828,11 @@ project.ext.pomConfigureClosureWithoutTweaks = {
mailingLists {
mailingList {
name 'Groovy Developer List'
- archive 'http://mail-archives.apache.org/mod_mbox/groovy-dev/'
+ archive 'https://mail-archives.apache.org/mod_mbox/groovy-dev/'
}
mailingList {
name 'Groovy User List'
- archive 'http://mail-archives.apache.org/mod_mbox/groovy-users/'
+ archive 'https://mail-archives.apache.org/mod_mbox/groovy-users/'
}
}
licenses {
@@ -844,7 +844,7 @@ project.ext.pomConfigureClosureWithoutTweaks = {
}
issueManagement {
system 'jira'
- url 'http://issues.apache.org/jira/browse/GROOVY'
+ url 'https://issues.apache.org/jira/browse/GROOVY'
}
scm {
connection 'scm:git:https://github.com/apache/groovy.git'
[groovy] 01/02: fix broken asciidoc reference
Posted by pa...@apache.org.
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 7bb545ea6aa1ba25baf5bcb358300e19770b517e
Author: Paul King <pa...@asert.com.au>
AuthorDate: Thu Feb 21 19:45:52 2019 +1000
fix broken asciidoc reference
---
subprojects/groovy-xml/src/spec/doc/xml-userguide.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/subprojects/groovy-xml/src/spec/doc/xml-userguide.adoc b/subprojects/groovy-xml/src/spec/doc/xml-userguide.adoc
index 84a9cce..9796077 100644
--- a/subprojects/groovy-xml/src/spec/doc/xml-userguide.adoc
+++ b/subprojects/groovy-xml/src/spec/doc/xml-userguide.adoc
@@ -109,7 +109,7 @@ Having a XML like the following:
[source,groovy]
----
-include::{rootProjectDir}/subprojects/groovy-xml/src/spec/test/UserGuideDOMCategory.groovy[tags=testXML,indent=0]
+include::{rootProjectDir}/subprojects/groovy-xml/src/spec/test/UserGuideDOMCategoryTest.groovy[tags=testXML,indent=0]
----
You can parse it using `groovy.xml.DOMBuilder` and
@@ -117,7 +117,7 @@ You can parse it using `groovy.xml.DOMBuilder` and
[source,groovy]
----
-include::{rootProjectDir}/subprojects/groovy-xml/src/spec/test/UserGuideDOMCategory.groovy[tags=testExample1,indent=0]
+include::{rootProjectDir}/subprojects/groovy-xml/src/spec/test/UserGuideDOMCategoryTest.groovy[tags=testExample1,indent=0]
----
<1> Parsing the XML