From 9111879851a12e603178767b2e84c280111ad523 Mon Sep 17 00:00:00 2001 From: James Elliott Date: Thu, 23 Jul 2015 19:12:25 -0500 Subject: [PATCH 1/2] Generate Java 6 compatible class files. --- project.clj | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/project.clj b/project.clj index ce6ce5e..16e8519 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject org.flatland/protobuf "0.8.2" +(defproject org.clojars.brunchboy/protobuf "0.8.3-SNAPSHOT" :description "Clojure-protobuf provides a clojure interface to Google's protocol buffers." :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} @@ -8,7 +8,7 @@ [org.flatland/schematic "0.1.0"] [org.flatland/io "0.3.0"] [ordered-collections "0.4.0"]] - :plugins [[lein-protobuf "0.4.2"]] + :plugins [[org.clojars.brunchboy/lein-protobuf "0.4.3-SNAPSHOT"]] :aliases {"testall" ["with-profile" "dev,default:dev,1.3,default:dev,1.5,default" "test"]} :profiles {:1.3 {:dependencies [[org.clojure/clojure "1.3.0"]]} :1.5 {:dependencies [[org.clojure/clojure "1.5.0-master-SNAPSHOT"]]} @@ -17,4 +17,5 @@ :snapshots true :releases {:checksum :fail :update :always}}} :checksum-deps true + :javac-options ["-target" "1.6" "-source" "1.6"] :java-source-paths ["src"]) From a5b947a82ac83a267a58ed106603bc934afec567 Mon Sep 17 00:00:00 2001 From: James Elliott Date: Thu, 23 Jul 2015 19:15:29 -0500 Subject: [PATCH 2/2] Build class files copatible with Java 6. --- project.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project.clj b/project.clj index 16e8519..10089da 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject org.clojars.brunchboy/protobuf "0.8.3-SNAPSHOT" +(defproject org.flatland/protobuf "0.8.3" :description "Clojure-protobuf provides a clojure interface to Google's protocol buffers." :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} @@ -8,7 +8,7 @@ [org.flatland/schematic "0.1.0"] [org.flatland/io "0.3.0"] [ordered-collections "0.4.0"]] - :plugins [[org.clojars.brunchboy/lein-protobuf "0.4.3-SNAPSHOT"]] + :plugins [[lein-protobuf "0.4.3"]] :aliases {"testall" ["with-profile" "dev,default:dev,1.3,default:dev,1.5,default" "test"]} :profiles {:1.3 {:dependencies [[org.clojure/clojure "1.3.0"]]} :1.5 {:dependencies [[org.clojure/clojure "1.5.0-master-SNAPSHOT"]]}