groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [groovy] 02/04: change some http references in the build to use https
Date Sun, 24 Feb 2019 22:14:54 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 968da80766d83bde404fb23ec145283563937d18
Author: Paul King <paulk@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                | 11 +++++------
 gradle/asciidoctor.gradle   |  8 ++++----
 gradle/docs.gradle          | 28 ++++++++++++++--------------
 gradle/pomconfigurer.gradle | 10 +++++-----
 5 files changed, 30 insertions(+), 31 deletions(-)

diff --git a/README.adoc b/README.adoc
index 0b9622d..700a06d 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://api.travis-ci.org/apache/groovy.svg?branch=GROOVY_2_5_X
 :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 b682df7..5a45425 100644
--- a/build.gradle
+++ b/build.gradle
@@ -22,12 +22,12 @@ 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{
             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/"
@@ -94,10 +94,10 @@ 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 'http://dl.bintray.com/melix/thirdparty-apache' } // openbeans
+        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 09c1096..0cb8b59 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.7'
-        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'


Mime
View raw message