Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies #3906

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 45 additions & 61 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ buildscript {
}

plugins {
id "com.simonharrer.modernizer" version '1.5.0-1'
id "de.sebastianboegl.shadow.transformer.log4j" version "2.1.1"
id 'com.github.ben-manes.versions' version '0.17.0'
id 'com.github.johnrengelman.shadow' version '2.0.2'
id 'com.gradle.build-scan' version '1.11'
id 'com.install4j.gradle' version '7.0.3'
id 'com.github.johnrengelman.shadow' version '2.0.2'
id "de.sebastianboegl.shadow.transformer.log4j" version "2.1.1"
id "com.simonharrer.modernizer" version '1.5.0-1'
id 'me.champeau.gradle.jmh' version '0.4.3'
id 'net.ltgt.errorprone' version '0.0.13'
id 'com.github.ben-manes.versions' version '0.17.0'
}

// use the gradle build scan feature: https://scans.gradle.com/get-started
Expand All @@ -34,14 +34,14 @@ buildScan {
licenseAgree = 'yes'
}

apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'project-report'
apply plugin: 'jacoco'
apply plugin: 'checkstyle'
apply plugin: 'install4j'
apply plugin: 'jacoco'
apply plugin: 'java'
apply plugin: 'me.champeau.gradle.jmh'
apply plugin: 'checkstyle'
apply plugin: 'org.junit.platform.gradle.plugin'
apply plugin: 'project-report'

apply from: 'eclipse.gradle'
apply from: 'localization.gradle'
Expand Down Expand Up @@ -85,91 +85,75 @@ configurations {
}

dependencies {
// legacy dependencies [apple, customjfx, spin]
compile fileTree(dir: 'lib', includes: ['*.jar'])

antlr3 'org.antlr:antlr:3.5.2'
antlr4 'org.antlr:antlr4:4.7.1'
compile 'org.antlr:antlr-runtime:3.5.2'
compile 'org.antlr:antlr4-runtime:4.7.1'

compile 'com.github.bkromhout:java-diff-utils:2.1.1'
compile 'com.github.tomtung:latex2unicode_2.12:0.2.2'
compile 'com.google.guava:guava:24.1-jre'
compile 'com.impossibl.pgjdbc-ng:pgjdbc-ng:0.7.1' // postgres jdbc
compile 'com.jgoodies:jgoodies-common:1.8.1'
compile 'com.jgoodies:jgoodies-forms:1.9.0'

compile 'org.apache.pdfbox:pdfbox:2.0.8'
compile 'org.apache.pdfbox:fontbox:2.0.8'
compile 'org.apache.pdfbox:xmpbox:2.0.8'

// required for reading write-protected PDFs - see https://github.com/JabRef/jabref/pull/942#issuecomment-209252635
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I convert the comment to an ADR and link it (in a comment // see ADR-0004)? I added that comment, because someone might wonder why bouncycastle is integrated.

compile 'org.bouncycastle:bcprov-jdk15on:1.59'

compile 'com.mashape.unirest:unirest-java:1.4.9'
compile 'com.microsoft.azure:applicationinsights-core:2.0.1'
compile 'com.microsoft.azure:applicationinsights-logging-log4j2:2.0.1'
compile 'commons-cli:commons-cli:1.4'

compile "org.libreoffice:juh:5.4.2"
compile "org.libreoffice:jurt:5.4.2"
compile "org.libreoffice:ridl:5.4.2"
compile "org.libreoffice:unoil:5.4.2"

compile 'com.github.bkromhout:java-diff-utils:2.1.1'
compile 'info.debatty:java-string-similarity:1.1.0'

antlr3 'org.antlr:antlr:3.5.2'
compile 'org.antlr:antlr-runtime:3.5.2'

antlr4 'org.antlr:antlr4:4.7.1'
compile 'org.antlr:antlr4-runtime:4.7.1'

// VersionEye states that 6.0.5 is the most recent version, but http://dev.mysql.com/downloads/connector/j/ shows that as "Development Release"
compile 'mysql:mysql-connector-java:5.1.46'

compile 'com.impossibl.pgjdbc-ng:pgjdbc-ng:0.7.1'

compile 'net.java.dev.glazedlists:glazedlists_java15:1.9.1'
compile 'org.apache.pdfbox:fontbox:2.0.8'
compile 'org.apache.pdfbox:pdfbox:2.0.8'
compile 'org.apache.pdfbox:xmpbox:2.0.8'
compile 'org.bouncycastle:bcprov-jdk15on:1.59' // write-protected pdfs
compile 'org.jsoup:jsoup:1.11.2'
compile 'org.libreoffice:juh:5.4.2'
compile 'org.libreoffice:jurt:5.4.2'
compile 'org.libreoffice:ridl:5.4.2'
compile 'org.libreoffice:unoil:5.4.2'

compile 'com.google.guava:guava:24.1-jre'

// JavaFX stuff
// JavaFX
compile 'com.airhacks:afterburner.fx:1.7.0'
compile 'de.codecentric.centerdevice:javafxsvg:1.3.0'
compile 'de.jensd:fontawesomefx-materialdesignfont:1.7.22-4'
compile 'de.saxsys:mvvmfx-validation:1.7.0'
compile 'org.controlsfx:controlsfx:8.40.15-SNAPSHOT' // Cannot be updated to 9.*.* until Jabref works with Java 9
compile 'org.fxmisc.easybind:easybind:1.0.3'
compile 'org.fxmisc.flowless:flowless:0.6'
compile 'org.fxmisc.richtext:richtextfx:0.8.2'

// Cannot be updated to 9.*.* until Jabref works with Java 9
compile 'org.controlsfx:controlsfx:8.40.15-SNAPSHOT'

compile 'org.jsoup:jsoup:1.11.2'
compile 'com.mashape.unirest:unirest-java:1.4.9'

// >1.8.0-beta is required for java 9 compatibility
compile 'org.slf4j:slf4j-api:1.8.0-beta2'
compile 'org.apache.logging.log4j:log4j-slf4j-impl:2.11.0'
compile 'org.apache.logging.log4j:log4j-jcl:2.11.0'
// logging
compile 'org.apache.logging.log4j:log4j-api:2.11.0'
compile 'org.apache.logging.log4j:log4j-core:2.11.0'
compile 'org.apache.logging.log4j:log4j-jcl:2.11.0'
compile 'org.apache.logging.log4j:log4j-slf4j-impl:2.11.0'
compile 'org.slf4j:slf4j-api:1.8.0-beta2'

// need to use snapshots as the stable version is from 2013 and doesn't support v1.0.1 CitationStyles
compile 'org.citationstyles:styles:1.0.1-SNAPSHOT'
compile 'org.citationstyles:locales:1.0.1-SNAPSHOT'
compile 'de.undercouch:citeproc-java:1.0.1'

compile 'com.github.tomtung:latex2unicode_2.12:0.2.2'

compile group: 'com.microsoft.azure', name: 'applicationinsights-core', version: '2.0.1'
compile group: 'com.microsoft.azure', name: 'applicationinsights-logging-log4j2', version: '2.0.1'

testCompile "org.testfx:testfx-core:4.0.+"
testCompile "org.testfx:testfx-junit:4.0.+"
testCompile 'com.github.tomakehurst:wiremock:2.15.0'
testCompile 'com.tngtech.archunit:archunit-junit:0.5.0'
testCompile 'org.assertj:assertj-swing-junit:3.8.0'
testCompile 'org.junit.jupiter:junit-jupiter-api:5.1.0'
testCompile 'org.junit.jupiter:junit-jupiter-params:5.1.0'
testRuntime 'org.junit.jupiter:junit-jupiter-engine:5.1.0'
testRuntime 'org.junit.vintage:junit-vintage-engine:5.1.0'
testCompile 'org.junit.platform:junit-platform-launcher:1.1.0'
testRuntime 'org.apache.logging.log4j:log4j-core:2.11.0'
testRuntime 'org.apache.logging.log4j:log4j-jul:2.11.0'
testCompile 'org.mockito:mockito-core:2.16.0'
testCompile 'com.github.tomakehurst:wiremock:2.15.0'
testCompile 'org.assertj:assertj-swing-junit:3.8.0'
testCompile 'org.reflections:reflections:0.9.11'
testCompile 'org.xmlunit:xmlunit-core:2.5.1'
testCompile 'org.xmlunit:xmlunit-matchers:2.5.1'
testCompile 'com.tngtech.archunit:archunit-junit:0.5.0'
testCompile "org.testfx:testfx-core:4.0.+"
testCompile "org.testfx:testfx-junit:4.0.+"
testRuntime 'org.apache.logging.log4j:log4j-core:2.11.0'
testRuntime 'org.apache.logging.log4j:log4j-jul:2.11.0'
testRuntime 'org.junit.jupiter:junit-jupiter-engine:5.1.0'
testRuntime 'org.junit.vintage:junit-vintage-engine:5.1.0'

checkstyle 'com.puppycrawl.tools:checkstyle:8.8'
}
Expand Down
39 changes: 17 additions & 22 deletions external-libraries.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ Project: latex2unicode
URL: https://github.com/tomtung/latex2unicode
License: Apache 2.0

Id: com.google.guava
Project: Google Guava
URL: https://github.com/google/guava
License: Apache-2.0

Id: com.impossibl.pgjdbc-ng:pgjdbc-ng
Project: pgjdbc-ng
URL: http://impossibl.github.io/pgjdbc-ng
Expand Down Expand Up @@ -85,11 +90,6 @@ Project: Apache Commons CLI
URL: http://commons.apache.org/cli/
License: Apache-2.0

Id: commons-logging:commons-logging
Project: Apache Commons Logging
URL: http://commons.apache.org/logging/
License: Apache-2.0

Id: de.codecentric.centerdevice
Project: javafxsvg
URL: https://github.com/codecentric/javafxsvg
Expand Down Expand Up @@ -135,11 +135,6 @@ Project: ANTLR 4
URL: http://www.antlr.org/
License: BSD

Id: org.apache.commons:commons-lang3
Project: Apache Commons Lang
URL: https://commons.apache.org/proper/commons-lang/
License: Apache-2.0

Id: org.apache.logging.log4j
Project: Apache Log2j 2
URL: http://logging.apache.org/log4j/2.x/
Expand Down Expand Up @@ -200,24 +195,24 @@ Project: jsoup
URL: https://github.com/jhy/jsoup/
License: MIT

Id: org.openoffice:juh
Project: OpenOffice.org
URL: http://www.openoffice.org/api/SDK
Id: org.libreoffice:juh
Project: LibreOffice
URL:
License: LGPL 3.0

Id: org.openoffice:jurt
Project: OpenOffice.org
URL: http://www.openoffice.org/api/SDK
Id: org.libreoffice:jurt
Project: LibreOffice
URL:
License: Apache-2.0

Id: org.openoffice:ridl
Project: OpenOffice.org
URL: http://www.openoffice.org/api/SDK
Id: org.libreoffice:ridl
Project: LibreOffice
URL:
License: Apache-2.0

Id: org.openoffice:unoil
Project: OpenOffice.org
URL: http://www.openoffice.org/api/SDK
Id: org.libreoffice:unoil
Project: LibreOffice
URL:
License: Apache-2.0

Id: org.xmlunit:xmlunit-core
Expand Down