Repository: GradleUp/shadow
Pull request #1291 (2025-02-27 08:10:58)

Migrate Apache links to https


Patch:
diff --git a/LICENSE b/LICENSE
index 7a4a3ea2..62589edd 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,7 +1,7 @@
 
                                  Apache License
                            Version 2.0, January 2004
-                        http://www.apache.org/licenses/
+                        https://www.apache.org/licenses/
 
    TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
 
@@ -193,10 +193,10 @@
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
 
-       http://www.apache.org/licenses/LICENSE-2.0
+       https://www.apache.org/licenses/LICENSE-2.0
 
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
-   limitations under the License.
\ No newline at end of file
+   limitations under the License.
diff --git a/src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/transformers/ApacheNoticeResourceTransformer.kt b/src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/transformers/ApacheNoticeResourceTransformer.kt
index 32ff2930..409cb884 100644
--- a/src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/transformers/ApacheNoticeResourceTransformer.kt
+++ b/src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/transformers/ApacheNoticeResourceTransformer.kt
@@ -58,7 +58,7 @@ public open class ApacheNoticeResourceTransformer @Inject constructor(
   public open val organizationName: Property<String> = objectFactory.property("The Apache Software Foundation")
 
   @get:Input
-  public open val organizationURL: Property<String> = objectFactory.property("http://www.apache.org/")
+  public open val organizationURL: Property<String> = objectFactory.property("https://www.apache.org/")
 
   @get:Input
   public open val inceptionYear: Property<String> = objectFactory.property("2006")


Test patch:
diff --git a/src/test/resources/components-1.xml b/src/test/resources/components-1.xml
index 35235733..b5b9cfec 100644
--- a/src/test/resources/components-1.xml
+++ b/src/test/resources/components-1.xml
@@ -7,7 +7,7 @@ to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
-    http://www.apache.org/licenses/LICENSE-2.0
+    https://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
@@ -45,4 +45,3 @@ under the License.
     </component>
   </components>
 </component-set>
-    
\ No newline at end of file
diff --git a/src/test/resources/components-2.xml b/src/test/resources/components-2.xml
index c5eff714..b6b910ec 100644
--- a/src/test/resources/components-2.xml
+++ b/src/test/resources/components-2.xml
@@ -7,7 +7,7 @@ to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
-    http://www.apache.org/licenses/LICENSE-2.0
+    https://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
@@ -45,4 +45,3 @@ under the License.
     </component>
   </components>
 </component-set>
-    
\ No newline at end of file
diff --git a/src/test/resources/components-expected.xml b/src/test/resources/components-expected.xml
index 4b69cda5..d1fc12c4 100644
--- a/src/test/resources/components-expected.xml
+++ b/src/test/resources/components-expected.xml
@@ -7,7 +7,7 @@ to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
-    http://www.apache.org/licenses/LICENSE-2.0
+    https://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
@@ -52,4 +52,4 @@ under the License.
       </configuration>
     </component>
   </components>
-</component-set>
\ No newline at end of file
+</component-set>