[jabref] 05/07: patch gradle.build to disable unneeded plugins
Tony Mancill
tmancill at moszumanska.debian.org
Fri Nov 18 04:02:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch dev
in repository jabref.
commit 2326ea3c20ad0f95b57c1c5f578afc822bd43f35
Author: tony mancill <tmancill at debian.org>
Date: Wed Nov 16 21:24:28 2016 -0800
patch gradle.build to disable unneeded plugins
---
debian/patches/gradle_build.patch | 96 +++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 97 insertions(+)
diff --git a/debian/patches/gradle_build.patch b/debian/patches/gradle_build.patch
new file mode 100644
index 0000000..a7924c3
--- /dev/null
+++ b/debian/patches/gradle_build.patch
@@ -0,0 +1,96 @@
+--- a/build.gradle
++++ b/build.gradle
+@@ -1,5 +1,6 @@
+ import org.gradle.internal.os.OperatingSystem
+
++/*
+ buildscript {
+ repositories {
+ maven {
+@@ -20,9 +21,11 @@
+ id "net.ltgt.errorprone" version "0.0.8"
+ id 'me.champeau.gradle.jmh' version '0.3.0'
+ }
++*/
+
+ apply plugin: "java"
+ apply plugin: "application"
++/*
+ apply plugin: "project-report"
+ apply plugin: 'jacoco'
+ apply plugin: 'install4j'
+@@ -31,29 +34,34 @@
+ apply plugin: 'checkstyle'
+
+ apply from: 'eclipse.gradle'
+-apply from: 'localization.gradle'
++*/
++// disable because we don't have jython-standalone
++//apply from: 'localization.gradle'
+ apply from: 'xjc.gradle'
+
+ group = "net.sf.jabref"
+ version = "3.6"
+ project.ext.threeDotVersion = "3.6.0.0"
+-project.ext.install4jDir = hasProperty("install4jDir") ? getProperty("install4jDir") : (OperatingSystem.current().isWindows() ? 'C:/Program Files/install4j6' : 'install4j6')
++//project.ext.install4jDir = hasProperty("install4jDir") ? getProperty("install4jDir") : (OperatingSystem.current().isWindows() ? 'C:/Program Files/install4j6' : 'install4j6')
+ sourceCompatibility = 1.8
+ targetCompatibility = 1.8
+ mainClassName = "net.sf.jabref.JabRefMain"
+
++/*
+ install4j {
+ installDir = file(project.ext.install4jDir)
+ }
++*/
+
+ task wrapper(type: Wrapper) {
+ gradleVersion = '2.14.1'
+ }
+
+-
++/*
+ repositories {
+ jcenter()
+ }
++*/
+
+ configurations {
+ antlr3
+@@ -247,11 +255,12 @@
+
+ tasks.withType(Test) {
+ reports.html.destination = file("${reporting.baseDir}/${name}")
+- jacoco {
+- append = true
+- }
++ //jacoco {
++ // append = true
++ //}
+ }
+
++/*
+ jacocoTestReport {
+ reports {
+ xml.enabled = true // coveralls plugin depends on xml format report
+@@ -296,6 +305,7 @@
+ }
+ })
+ }
++*/
+
+ /*
+ * Changes project.version to VERSION--snapshot--DATE--GIT_HASH
+@@ -330,6 +340,7 @@
+ project.version += "--snapshot--" + infoString
+ }
+
++/*
+ // has to be defined AFTER 'dev' things to have the correct project.version
+ task media(type: com.install4j.gradle.Install4jTask, dependsOn: "releaseJar") {
+ projectFile = file('jabref.install4j')
+@@ -391,3 +402,4 @@
+ iterations = 10
+ fork = 2
+ }
++*/
diff --git a/debian/patches/series b/debian/patches/series
index 1e395cc..462ca7b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
#generated_JabRefPlugin.java.patch
#fix-headless-bibtex-output.diff
#upstream_1240.patch
+gradle_build.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jabref.git
More information about the pkg-java-commits
mailing list