You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2019/08/02 16:27:10 UTC

[groovy] tag test-jitpack-1 created (now b4732b8)

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

sunlan pushed a change to tag test-jitpack-1
in repository https://gitbox.apache.org/repos/asf/groovy.git.


      at b4732b8  (commit)
This tag includes the following new commits:

     new fd4ed6b  Add jitpack configuration file
     new b4732b8  Add jitpack task

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.



[groovy] 02/02: Add jitpack task

Posted by su...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to tag test-jitpack-1
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit b4732b812844fabcfd66a27f75cf1d451179397a
Author: Daniel Sun <re...@hotmail.com>
AuthorDate: Fri Feb 23 11:45:07 2018 +0800

    Add jitpack task
---
 gradle/assemble.gradle | 20 ++++++++++++++++++++
 jitpack.yml            |  2 +-
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/gradle/assemble.gradle b/gradle/assemble.gradle
index 06462b2..936feb5 100644
--- a/gradle/assemble.gradle
+++ b/gradle/assemble.gradle
@@ -503,6 +503,26 @@ task dist(type: Zip, dependsOn: [checkCompatibility, distBin, distSrc, distDoc,
     }
 }
 
+task jitpack(type: Copy) {
+    destinationDir(file("$buildDir"))
+    into("jitpack") {
+        with copySpec {
+            duplicatesStrategy = DuplicatesStrategy.EXCLUDE
+            rename '^([A-Z]+)-([^.]*)', '$1'
+            exclude { it.file.name =~ /-raw/ }
+            into('lib') {
+                from jarjar
+                from modules()*.jarjar
+            }
+        }
+    }
+    allprojects {
+        if (project.name in ['groovy', 'groovy-test']) {
+            jitpack.dependsOn(grooidjar)
+        }
+    }
+}
+
 task updateLicenses {
     description = 'Updates the various LICENSE files'
     ext.licensesDir = "${projectDir}/licenses"
diff --git a/jitpack.yml b/jitpack.yml
index a6e7f52..6f8a8cd 100644
--- a/jitpack.yml
+++ b/jitpack.yml
@@ -16,4 +16,4 @@
 jdk: oraclejdk8
 
 install:
-  - ./gradlew install -x test
+  - ./gradlew jitpack -x test


[groovy] 01/02: Add jitpack configuration file

Posted by su...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to tag test-jitpack-1
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit fd4ed6b833ff642c81f0cb4380155269066e3af3
Author: Daniel Sun <re...@hotmail.com>
AuthorDate: Fri Feb 23 09:08:09 2018 +0800

    Add jitpack configuration file
---
 jitpack.yml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/jitpack.yml b/jitpack.yml
new file mode 100644
index 0000000..a6e7f52
--- /dev/null
+++ b/jitpack.yml
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file 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
+#
+# 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.
+
+jdk: oraclejdk8
+
+install:
+  - ./gradlew install -x test