[bintray-client-java] 03/22: Add patches to use local artifacts and disable publishing

Kai-Chung Yan seamlik-guest at moszumanska.debian.org
Thu Jun 4 08:20:02 UTC 2015


This is an automated email from the git hooks/post-receive script.

seamlik-guest pushed a commit to branch master
in repository bintray-client-java.

commit 47ba0ce2c43d2a562efa07728adea51218fa7bdd
Author: Kai-Chung Yan <seamlikok at gmail.com>
Date:   Mon Jun 1 14:23:36 2015 +0800

    Add patches to use local artifacts and disable publishing
---
 debian/patches/disable_publishing.diff  | 38 +++++++++++++++++++++++++++++++++
 debian/patches/series                   |  2 ++
 debian/patches/use_local_artifacts.diff | 32 +++++++++++++++++++++++++++
 3 files changed, 72 insertions(+)

diff --git a/debian/patches/disable_publishing.diff b/debian/patches/disable_publishing.diff
new file mode 100644
index 0000000..c9d6784
--- /dev/null
+++ b/debian/patches/disable_publishing.diff
@@ -0,0 +1,38 @@
+Description: Disable publishing
+Author: Kai-Chung Yan <seamlikok at gmail.com>
+Last-Update: 2015-06-01
+--- a/build.gradle
++++ b/build.gradle
+@@ -24,6 +24,7 @@
+         maven { url "file:///usr/share/maven-repo" }
+     }
+ 
++    /*
+     artifactory {
+         contextUrl = 'https://oss.jfrog.org'
+         resolve {
+@@ -44,6 +45,7 @@
+             }
+         }
+     }
++    */
+ }
+ 
+ artifactoryPublish.skip = true
+@@ -96,7 +98,7 @@
+         finalizedBy(testResultsZip)
+     }
+ 
+-
++    /*
+     publishing {
+         publications {
+             main(MavenPublication) {
+@@ -153,6 +155,7 @@
+             }
+         }
+     }
++    */
+ }
+ 
+ project(':bintray-client-java-service') {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f91657a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+use_local_artifacts.diff
+disable_publishing.diff
diff --git a/debian/patches/use_local_artifacts.diff b/debian/patches/use_local_artifacts.diff
new file mode 100644
index 0000000..0101847
--- /dev/null
+++ b/debian/patches/use_local_artifacts.diff
@@ -0,0 +1,32 @@
+Description: Use local artifacts
+Author: Kai-Chung Yan <seamlikok at gmail.com>
+Last-Update: 2015-06-01
+--- a/build.gradle
++++ b/build.gradle
+@@ -1,5 +1,6 @@
+ import static java.lang.System.getenv
+ 
++/*
+ buildscript {
+     repositories {
+         jcenter()
+@@ -9,6 +10,7 @@
+         classpath(group: 'org.jfrog.buildinfo', name: 'build-info-extractor-gradle', version: '3.0.3')
+     }
+ }
++*/
+ 
+ allprojects {
+     apply plugin: 'idea'
+@@ -17,6 +19,11 @@
+ 
+     group = 'com.jfrog.bintray.client'
+ 
++    repositories {
++        flatDir { dirs "/usr/share/java" }
++        maven { url "file:///usr/share/maven-repo" }
++    }
++
+     artifactory {
+         contextUrl = 'https://oss.jfrog.org'
+         resolve {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/bintray-client-java.git



More information about the pkg-java-commits mailing list