Skip to content

Commit

Permalink
Update libraries/gradle and run tests under openjdk 14.
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshilliard committed Apr 23, 2020
1 parent bd54fef commit bd722db
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 23 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jdk:
- openjdk11
- openjdk12
- openjdk13
- openjdk14
before_script:
- echo $JAVA_OPTS
- export JAVA_OPTS=-Xmx1G
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
47 changes: 27 additions & 20 deletions libraries.gradle
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
ext {
jposVersion = '2.1.4-SNAPSHOT'
slf4jVersion = '1.7.28'
slf4jVersion = '1.7.30'
logbackVersion = '1.2.3'
hibernateVersion = '5.4.6.Final'
hibernateVersion = '5.4.12.Final'
geronimoVersion = '1.1.1'
jettyVersion = '9.4.20.v20190813'
jettyVersion = '9.4.27.v20200227'
servletApiVersion = '4.0.1'
websocketApiVersion = '1.1'
jgroupsVersion = '4.1.5.Final'
jgroupsVersion = '4.2.1.Final'
jaxrsVersion = '2.0.1'
jsonSchemaVersion = '2.2.11'
guavaVersion = '28.1-jre'
jacksonVersion = '2.10.0'
groovyVersion = '2.5.8'
jsonSchemaVersion = '2.2.13'
guavaVersion = '28.2-jre'
jacksonVersion = '2.10.3'
groovyVersion = '3.0.2'
jlineVersion = '2.14.6'
restAssuredVersion = '2.9.0'
vaadinVersion = '8.10.0'
nettyVersion = '4.1.42.Final'
nettyVersion = '4.1.47.Final'
httpAsyncClientVersion = '4.1.4'
mysqlJDBCVersion = '8.0.17'
c3p0Version = '0.9.5.4'
mysqlJDBCVersion = '8.0.19'
c3p0Version = '0.9.5.5'
postgresJDBCVersion = '42.2.11'
flywaydbVersion = '6.0.4'
liquibaseVersion = '3.8.0'
flywaydbVersion = '6.3.0'
liquibaseVersion = '3.8.7'

libraries = [
//jUnit (Tests)
junit: 'org.junit.jupiter:junit-jupiter:5.5.2',
junit: 'org.junit.jupiter:junit-jupiter:5.6.0',

//jPOS
jpos: "org.jpos:jpos:${jposVersion}",
Expand All @@ -43,7 +44,7 @@ ext {
logback: "ch.qos.logback:logback-classic:${logbackVersion}",

//JODA-Time
joda_time: 'joda-time:joda-time:2.10.4',
joda_time: 'joda-time:joda-time:2.10.5',

//Hibernate
hibernate_core: "org.hibernate:hibernate-core:${hibernateVersion}",
Expand All @@ -57,16 +58,19 @@ ext {
jdbcH2: 'com.h2database:h2:1.4.199',
jdbcMysql: "mysql:mysql-connector-java:${mysqlJDBCVersion}",
jdbcPostgresql: "org.postgresql:postgresql:${postgresJDBCVersion}",
jdbcMssql: 'com.microsoft.sqlserver:mssql-jdbc:7.4.1.jre8',
jdbcMssql: 'com.microsoft.sqlserver:mssql-jdbc:8.2.1.jre8',

//Freemarker
freemarker: 'org.freemarker:freemarker:[2.3.29,2.4)',
freemarker: 'org.freemarker:freemarker:2.3.30',

//Mail
javax_mail: 'javax.mail:javax.mail-api:1.6.2',

//Jakarta Activation
jakarta_activation: 'jakarta.activation:jakarta.activation-api:1.2.2',

//SSHD
sshd: 'org.apache.sshd:sshd-core:2.3.0',
sshd: 'org.apache.sshd:sshd-core:2.4.0',

//Servlet API
servlet_api: "javax.servlet:javax.servlet-api:${servletApiVersion}",
Expand All @@ -92,7 +96,7 @@ ext {
jetty_rewrite: "org.eclipse.jetty:jetty-rewrite:${jettyVersion}",

// Quartz Scheduler
quartz: 'org.quartz-scheduler:quartz:2.3.1',
quartz: 'org.quartz-scheduler:quartz:2.3.2',

// JGroups
jgroups: "org.jgroups:jgroups:${jgroupsVersion}",
Expand All @@ -102,6 +106,9 @@ ext {
groovysh: "org.codehaus.groovy:groovy-groovysh:${groovyVersion}",
groovySql: "org.codehaus.groovy:groovy-sql:${groovyVersion}",

// Jline
jline: "jline:jline:${jlineVersion}",

// Jackson
jacksonDatabind: "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}",

Expand All @@ -110,7 +117,7 @@ ext {
nettyCodecHttp: "io.netty:netty-codec-http:${nettyVersion}",

// RestAssured
restAssured: "io.rest-assured:rest-assured:4.1.1",
restAssured: "io.rest-assured:rest-assured:4.3.0",

jsonSchemaValidator: "com.github.java-json-tools:json-schema-validator:${jsonSchemaVersion}",
guava: "com.google.guava:guava:${guavaVersion}",
Expand Down
3 changes: 2 additions & 1 deletion modules/groovy/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ dependencies {
api libraries.jpos
api libraries.groovy
api libraries.groovysh
api group: 'org.fusesource.jansi', name: 'jansi', version: '1.11'
implementation libraries.jline
api group: 'org.fusesource.jansi', name: 'jansi', version: '1.18'

api libraries.groovySql
}
Expand Down
2 changes: 1 addition & 1 deletion modules/groovy/src/main/java/org/jpos/q2/cli/GROOVY.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


import groovy.lang.Binding;
import org.codehaus.groovy.tools.shell.Groovysh;
import org.apache.groovy.groovysh.Groovysh;
import org.codehaus.groovy.tools.shell.IO;
import org.jline.terminal.Attributes;
import org.jline.terminal.Terminal;
Expand Down
1 change: 1 addition & 0 deletions modules/qrest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies {
api libraries.nettyHandler
api libraries.nettyCodecHttp
api libraries.freemarker
implementation libraries.jakarta_activation
api jsonSchemaValidatorLibs
testImplementation libraries.junit
testImplementation libraries.restAssured
Expand Down

0 comments on commit bd722db

Please sign in to comment.