diff --git a/README.md b/README.md index 42ca24c..7c57f35 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Add this dependency to your project's POM: com.fortify ssc-restapi-client - 23.1 + 23.1.1 compile ``` @@ -37,7 +37,7 @@ Add this dependency to your project's POM: Add this dependency to your project's build file: ```groovy -compile "com.fortify:ssc-restapi-client:23.1" +compile "com.fortify:ssc-restapi-client:23.1.1" ``` ### Others @@ -45,7 +45,7 @@ compile "com.fortify:ssc-restapi-client:23.1" At first generate the JAR by running the gradle build Then manually install the following JARs: -* build/libs/ssc-restapi-client-23.1.jar +* build/libs/ssc-restapi-client-23.1.1.jar * build/swagger-code-ssc/build/target/lib/*.jar ## Getting Started diff --git a/build.gradle b/build.gradle index f0e22a3..7ff3e64 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,7 @@ repositories { } group = 'com.fortify' -version = '23.1' +version = '23.1.1' description 'Fortify SSC REST API client' sourceCompatibility = JavaVersion.VERSION_1_8 @@ -60,13 +60,16 @@ artifacts { } task fixAndCopySwaggerSpec(type: Sync) { - description 'Read spec-rest.json and remove « and » characters. Write modified file to task temporaryDir' + description 'Read spec-rest.json and remove « and » characters and rename [Custom Tag] to [Custom Tag Audit] to avoid collision with [Custom tag] (lower case). Write modified file to task temporaryDir' into(modifiedSpecDir) from(originalSpecDir) { filteringCharset = "UTF-8" filter({ String s -> s.replaceAll(/[\u00ab\u00bb]/, "") // [«»] }) + filter({ String s -> + s.replaceAll(/Custom Tag/, 'Custom Tag Audit') // [Custom Tag] + }) } }