[mongo-java-driver] 05/08: Add gradle.patch.

Markus Koschany apo at moszumanska.debian.org
Mon Feb 5 20:32:03 UTC 2018


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

apo pushed a commit to branch master
in repository mongo-java-driver.

commit f6e5ba9dedb9ebdb76c83bf1113e576a49ab1cbf
Author: Markus Koschany <apo at debian.org>
Date:   Mon Feb 5 20:32:25 2018 +0100

    Add gradle.patch.
---
 debian/patches/gradle.patch | 72 +++++++++++++++++++++++++++++++++++++++++++++
 debian/patches/series       |  1 +
 2 files changed, 73 insertions(+)

diff --git a/debian/patches/gradle.patch b/debian/patches/gradle.patch
new file mode 100644
index 0000000..25fdc52
--- /dev/null
+++ b/debian/patches/gradle.patch
@@ -0,0 +1,72 @@
+From: Markus Koschany <apo at debian.org>
+Date: Mon, 5 Feb 2018 20:32:05 +0100
+Subject: gradle
+
+---
+ build.gradle | 21 +++++++--------------
+ 1 file changed, 7 insertions(+), 14 deletions(-)
+
+diff --git a/build.gradle b/build.gradle
+index 0232026..f72034f 100644
+--- a/build.gradle
++++ b/build.gradle
+@@ -114,7 +114,7 @@ configure(subprojects.findAll { it.name != 'util' }) {
+         options.author = true
+         options.version = true
+         options.links 'http://docs.oracle.com/javase/7/docs/api/'
+-        options.tagletPath single(project(':util').sourceSets.main.output.classesDirs)
++        //options.tagletPath single(project(':util').sourceSets.main.output.classesDirs)
+         options.taglets 'ManualTaglet'
+         options.taglets 'DochubTaglet'
+         options.taglets 'ServerReleaseTaglet'
+@@ -156,20 +156,13 @@ configure(subprojects.findAll { it.name != 'util' }) {
+ 
+ def getGitVersion() {
+     def outputAsString
+-    new ByteArrayOutputStream().withStream { os ->
+-        def result = exec {
+-            executable 'git'
+-            args 'describe', '--tags', '--always', '--dirty'
+-            standardOutput = os
+-        }
+-        outputAsString = os.toString().substring(1).trim()
+-    }
++    outputAsString = "3.6.2"
+     return outputAsString
+ }
+ 
+ configure(subprojects.findAll { it.name != 'util' && it.name != 'mongo-java-driver' }) {
+     apply plugin: 'checkstyle'
+-    apply plugin: "com.github.spotbugs"
++    //apply plugin: "com.github.spotbugs"
+     apply plugin: 'jacoco'
+     apply plugin: 'groovy'
+     apply plugin: 'codenarc'
+@@ -270,23 +263,23 @@ configure(subprojects.findAll { it.name != 'util' && it.name != 'mongo-java-driv
+         configProperties.checkstyleConfigDir = configDir
+     }
+ 
+-    spotbugs {
++    /*spotbugs {
+         excludeFilter = new File(configDir, 'findbugs-exclude.xml')
+         sourceSets = [sourceSets.main]
+         toolVersion = '3.1.0'
+-    }
++    }*/
+ 
+     codenarc {
+         toolVersion = '1.0'
+         reportFormat = project.buildingWith('xmlReports.enabled') ? 'xml' : 'html'
+     }
+ 
+-    tasks.withType(com.github.spotbugs.SpotBugsTask) {
++    /*tasks.withType(com.github.spotbugs.SpotBugsTask) {
+         reports {
+             xml.enabled = project.buildingWith('xmlReports.enabled')
+             html.enabled = !project.buildingWith('xmlReports.enabled')
+         }
+-    }
++    }*/
+ 
+     tasks.withType(Test) {
+         def jdkHome = findProperty("jdkHome")
diff --git a/debian/patches/series b/debian/patches/series
index 7b9a1f9..fdc059f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 build.patch
 test.patch
+gradle.patch

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



More information about the pkg-java-commits mailing list