diff --git a/README.md b/README.md index 07fefb2..11d4ca7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # APEX API Java Security Utility [![Build Status](https://travis-ci.org/GovTechSG/java-apex-api-security.svg?branch=master)](https://travis-ci.org/GovTechSG/java-apex-api-security) -[![Coverage Status](https://coveralls.io/repos/github/GovTechSG/java-apex-api-security/badge.svg?branch=master)](https://coveralls.io/github/GovTechSG/java-apex-api-security?branch=master) +[![Coverage Status](https://coveralls.io/repos/github/blasttoys/java-apex-api-security/badge.svg?branch=master)](https://coveralls.io/github/blasttoys/java-apex-api-security?branch=master) [![Known Vulnerabilities](https://snyk.io/test/github/govtechsg/java-apex-api-security/badge.svg)](https://snyk.io/test/github/govtechsg/java-apex-api-security) A java helper utilities that form HTTP security header for authentication and verification @@ -64,7 +64,7 @@ mvn install com.api.util ApiSecurity - 2.1.3 + 2.1.4 ``` @@ -76,12 +76,12 @@ mvn install org.apache.logging.log4j log4j-api - 2.17.0 + 2.17.1 org.apache.logging.log4j log4j-core - 2.17.0 + 2.17.1 ``` @@ -100,7 +100,7 @@ mvn test ### Gradle Guide -+ Download and Install Gradle (4.0 or above) ++ Download and Install Gradle (6.9 or above) + Java (1.8) #### Preparation diff --git a/build.gradle b/build.gradle index 4021e40..dfcc270 100644 --- a/build.gradle +++ b/build.gradle @@ -1,11 +1,11 @@ plugins { id 'java' id 'jacoco' - id 'com.github.kt3k.coveralls' version '2.6.3' + id 'com.github.kt3k.coveralls' version '2.12.0' } -version '2.1.3' +version '2.1.4' tasks.withType(JavaCompile) { options.encoding = "UTF-8" @@ -19,27 +19,29 @@ dependencies { //compile group: 'org.apache.commons', name: 'commons-collections4', version: '4.1' //gradle 4.0 - compile group: 'commons-lang', name: 'commons-lang', version: '2.4' - compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.17.1' - compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.17.1' - compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.12.6.1' - compile group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1' - compile group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.69' + //compile group: 'commons-lang', name: 'commons-lang', version: '2.4' + //compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.17.1' + //compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.17.1' + //compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.12.6.1' + //compile group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1' + //compile group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.69' - testCompile group: 'junit', name: 'junit', version: '4.13.1' + //testCompile group: 'junit', name: 'junit', version: '4.13.1' //gradle 6.9 - //implementation group: 'commons-lang', name: 'commons-lang', version: '2.4' - //implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.12.6.1' - //implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1' - //implementation group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.69' - //testImplementation group: 'junit', name: 'junit', version: '4.13.1' + implementation group: 'commons-lang', name: 'commons-lang', version: '2.4' + implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.17.1' + implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.17.1' + implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.12.6.1' + implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1' + implementation group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.69' + testImplementation group: 'junit', name: 'junit', version: '4.13.1' } jar { //Evaluate at execution time where all the configurations and dependencies are resolved from { - configurations.compile.collect { + configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } } diff --git a/pom.xml b/pom.xml index 44ce0fd..a871a45 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 com.api.util ApiSecurity - 2.1.3 + 2.1.4 @@ -114,8 +114,8 @@ 1.8 - scm:git:https://github.com/GovTechSG/test-suites-apex-api-security.git - scm:git:https://github.com/GovTechSG/test-suites-apex-api-security.git - https://github.com/GovTechSG + scm:git:https://github.com/blasttoys/test-suites-apex-api-security.git + scm:git:https://github.com/blasttoys/test-suites-apex-api-security.git + https://github.com/blasttoys \ No newline at end of file