From 050548c110fd0e4b2dd7ca9e5c2a01b9a02dfb8d Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sun, 21 May 2017 13:52:24 -0700 Subject: [PATCH 1/3] Added maven local publishing. --- build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build.gradle b/build.gradle index c5b7e6f..769e85e 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,5 @@ apply plugin: 'java' +apply plugin: 'maven-publish' group = 'opensymphony' version = '2.4.3-ect' @@ -36,3 +37,11 @@ jar { "Implementation-Vendor": "OpenSymphony") } } + +publishing { + publications { + maven(MavenPublication) { + from components.java + } + } +} \ No newline at end of file From 8a56ff7a03764e02ac3377a9d83e93bc030bb586 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sun, 21 May 2017 14:48:38 -0700 Subject: [PATCH 2/3] Added README. --- README.md | 1 + readme.txt => old/readme.txt | 0 2 files changed, 1 insertion(+) create mode 100644 README.md rename readme.txt => old/readme.txt (100%) diff --git a/README.md b/README.md new file mode 100644 index 0000000..4dc6b28 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +Modified version of [OpenSymphony's OSCache](https://bitbucket.org/opensymphony/oscache/) with support for automatically generating keys that take in consideration the server port (HTTP, HTTPS). \ No newline at end of file diff --git a/readme.txt b/old/readme.txt similarity index 100% rename from readme.txt rename to old/readme.txt From bad9de0481bf1ddf299923f5e5df195f11f62f96 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sun, 21 May 2017 21:20:46 -0700 Subject: [PATCH 3/3] Added instructions to README. --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4dc6b28..e6cc59e 100644 --- a/README.md +++ b/README.md @@ -1 +1,8 @@ -Modified version of [OpenSymphony's OSCache](https://bitbucket.org/opensymphony/oscache/) with support for automatically generating keys that take in consideration the server port (HTTP, HTTPS). \ No newline at end of file +Modified version of [OpenSymphony's OSCache](https://bitbucket.org/opensymphony/oscache/) with support for automatically generating keys that take in consideration the server port (HTTP, HTTPS). + +To enable add the following to `oscache.properties`: + +```ini +cache.use.host.domain.in.key=true +``` +