Skip to content

Commit

Permalink
Updated various libraries, removed mavenCentral repo as all are now i…
Browse files Browse the repository at this point in the history
…n jcenter
  • Loading branch information
jonesde committed Sep 14, 2017
1 parent 637efb2 commit bc80a17
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def frameworkDir = file(moquiDir.absolutePath + '/framework')
apply plugin: 'com.github.ben-manes.versions'
buildscript {
repositories { jcenter() }
dependencies { classpath 'com.github.ben-manes:gradle-versions-plugin:0.14.0' }
dependencies { classpath 'com.github.ben-manes:gradle-versions-plugin:0.15.0' }
}
dependencyUpdates.resolutionStrategy = { componentSelection { rules -> rules.all { ComponentSelection selection ->
boolean rejected = ['alpha', 'beta', 'rc', 'cr', 'm'].any { qualifier -> selection.candidate.version ==~ /(?i).*[.-]${qualifier}[.\d-]*/ }
Expand All @@ -38,7 +38,6 @@ repositories {
flatDir name: 'localLib', dirs: frameworkDir.absolutePath + '/lib'
flatDir name: 'librepo', dirs: projectDir.absolutePath + '/librepo'
jcenter()
mavenCentral()
}

dependencies {
Expand All @@ -48,23 +47,33 @@ dependencies {
compile('org.apache.xmlgraphics:fop:2.2') { // Apache 2.0
exclude group: 'xalan'
exclude group: 'xml-apis' // can't exclude batik-ext but has some same classes as xml-apis so exclude that
exclude group: 'org.mozilla'
exclude group: 'org.python'
}
compile ('org.apache.xmlgraphics:batik-transcoder:1.9') {
compile ('org.apache.xmlgraphics:batik-transcoder:1.9.1') {
exclude group: 'xalan'
exclude group: 'org.mozilla'
exclude group: 'org.python'
}
compile ('org.apache.xmlgraphics:batik-constants:1.9.1') {
exclude group: 'org.mozilla'
exclude group: 'org.python'
}
compile ('org.apache.xmlgraphics:batik-i18n:1.9.1') {
exclude group: 'org.mozilla'
exclude group: 'org.python'
}
compile ('org.apache.xmlgraphics:batik-constants:1.9')
compile ('org.apache.xmlgraphics:batik-i18n:1.9')

// barcode4j as a module to avoid required dependency on ant
compile module('net.sf.barcode4j:barcode4j:2.1')
compile module('net.sf.barcode4j:barcode4j-fop-ext:2.1')

// CSSBox (HTML/CSS to SVG, etc)
compile ('net.sf.cssbox:cssbox:4.12') { // LGPL <== NOTE!
compile ('net.sf.cssbox:cssbox:4.13') { // LGPL <== NOTE!
exclude group: 'xalan'
exclude group: 'xml-apis' // can't exclude batik-ext but has some same classes as xml-apis so exclude that
}
compile ('org.apache.pdfbox:pdfbox:2.0.6') // Apache 2.0
compile ('org.apache.pdfbox:pdfbox:2.0.7') // Apache 2.0
// NOTE: this comes from a custom build, see: https://github.com/jonesde/CSSBoxPdf
compile name: 'cssbox-pdf', version: '1.0-SNAPSHOT' // LGPL <== NOTE!
}
Expand Down

0 comments on commit bc80a17

Please sign in to comment.