Skip to content

Commit 6020f10

Browse files
committed
Removing Java ClojureAdaptor - will be replaced by an idiomatic Clojure version
1 parent 0188a7c commit 6020f10

File tree

2 files changed

+7
-167
lines changed

2 files changed

+7
-167
lines changed

language-adaptors/rxjava-clojure/build.gradle

Lines changed: 7 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
apply plugin: 'java'
21
apply plugin: 'clojure'
3-
apply plugin: 'eclipse'
4-
apply plugin: 'idea'
52
apply plugin: 'osgi'
63

74
dependencies {
85
compile project(':rxjava-core')
9-
provided 'org.clojure:clojure:1.4.+'
6+
107
provided 'junit:junit-dep:4.10'
118
provided 'org.mockito:mockito-core:1.8.5'
129

1310
// clojure
14-
testCompile 'clj-http:clj-http:0.6.4' // https://clojars.org/clj-http
11+
compile 'org.clojure:clojure:1.4.+'
12+
compile 'clj-http:clj-http:0.6.4' // https://clojars.org/clj-http
1513
}
1614

1715
/*
@@ -26,7 +24,6 @@ buildscript {
2624
}
2725

2826
repositories {
29-
mavenCentral()
3027
clojarsRepo()
3128
}
3229

@@ -37,45 +34,16 @@ eclipse {
3734
project {
3835
natures "ccw.nature"
3936
}
40-
classpath {
41-
plusConfigurations += configurations.provided
42-
downloadSources = true
43-
downloadJavadoc = true
44-
}
4537
}
4638

47-
idea {
48-
module {
49-
// include 'provided' dependencies on the classpath
50-
scopes.PROVIDED.plus += configurations.provided
51-
}
39+
tasks.clojureTest {
40+
classpath = classpath + configurations.provided
5241
}
5342

54-
55-
eclipse {
56-
classpath {
57-
// include 'provided' dependencies on the classpath
58-
plusConfigurations += configurations.provided
59-
60-
downloadSources = true
61-
downloadJavadoc = true
62-
}
43+
tasks.compileExamplesClojure {
44+
classpath = classpath + configurations.provided
6345
}
6446

65-
// include /src/examples folder
66-
sourceSets {
67-
examples
68-
}
69-
70-
// make 'examples' use the same classpath
71-
configurations {
72-
examplesCompile.extendsFrom compile
73-
examplesRuntime.extendsFrom runtime
74-
}
75-
76-
// include 'examples' in build task
77-
build.dependsOn examplesClasses
78-
7947
jar {
8048
manifest {
8149
name = 'rxjava-clojure'

language-adaptors/rxjava-clojure/src/main/java/rx/lang/clojure/ClojureAdaptor.java

Lines changed: 0 additions & 128 deletions
This file was deleted.

0 commit comments

Comments
 (0)