Skip to content

Commit 9718d04

Browse files
author
dnolen
committed
add transit-clj as a provided dep
1 parent f38cda6 commit 9718d04

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

pom.template.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,18 @@
6464
</exclusion>
6565
</exclusions>
6666
</dependency>
67+
<dependency>
68+
<groupId>com.cognitect</groupId>
69+
<artifactId>transit-clj</artifactId>
70+
<version>0.8.285</version>
71+
<scope>provided</scope>
72+
<exclusions>
73+
<exclusion>
74+
<groupId>org.clojure</groupId>
75+
<artifactId>clojure</artifactId>
76+
</exclusion>
77+
</exclusions>
78+
</dependency>
6779
</dependencies>
6880

6981
<developers>

project.clj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
[org.clojure/data.json "0.2.6"]
1313
[org.clojure/tools.reader "1.0.0-beta1"]
1414
[org.clojure/test.check "0.9.0" :scope "test"]
15+
[org.clojure/transit-clj "0.8.285" :scope "provided"]
1516
[org.clojure/google-closure-library "0.0-20151016-61277aea"]
1617
[com.google.javascript/closure-compiler "v20160315"]
1718
[org.mozilla/rhino "1.7R5"]]

script/bootstrap

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set -e
55
CLOJURE_RELEASE="1.8.0"
66
CLOSURE_RELEASE="20160315"
77
DJSON_RELEASE="0.2.6"
8+
TRANSIT_RELEASE="0.8.285"
89
GCLOSURE_LIB_RELEASE="0.0-20151016-61277aea"
910
RHINO_RELEASE="1_7R5"
1011
TREADER_RELEASE="1.0.0-beta1"
@@ -33,6 +34,13 @@ cp data.json-$DJSON_RELEASE.jar lib/data.json-$DJSON_RELEASE.jar
3334
echo "Cleaning up data.json..."
3435
rm data.json-$DJSON_RELEASE.jar
3536

37+
echo "Fetching transit-clj..."
38+
curl --retry 3 -O -s https://repo1.maven.org/maven2/com/cognitect/transit-clj/$TRANSIT_RELEASE/transit-clj-$TRANSIT_RELEASE.jar || { echo "Download failed."; exit 1; }
39+
echo "Copying transit-cjl-$TRANSIT_RELEASE.jar to lib/transit-clj-$TRANSIT_RELEASE.jar..."
40+
cp transit-clj-$TRANSIT_RELEASE.jar lib/transit-clj-$TRANSIT_RELEASE.jar
41+
echo "Cleaning up data.json..."
42+
rm transit-clj-$TRANSIT_RELEASE.jar
43+
3644
echo "Fetching Google Closure library..."
3745
mkdir -p closure/library
3846
cd closure/library

0 commit comments

Comments
 (0)