1
- // Establish version and status
2
- ext. githubProjectName = rootProject. name // Change if github project name is not the same as the root project's name
3
-
4
1
buildscript {
5
2
repositories {
6
- mavenCentral ()
3
+ jcenter ()
7
4
maven { url ' http://clojars.org/repo' }
8
5
}
9
6
dependencies {
10
- classpath ' clojuresque:clojuresque:1.7 .0'
11
- }
12
- apply from : file( ' gradle/buildscript.gradle ' ), to : buildscript
7
+ classpath ' com.netflix.nebula:gradle-extra-configurations-plugin:2.2 .0'
8
+ classpath ' com.netflix.nebula:nebula-clojure-plugin:2.2.0 '
9
+ }
13
10
}
14
11
15
- allprojects {
16
- repositories {
17
- mavenCentral() // maven { url: 'http://jcenter.bintray.com' }
18
- maven { url ' http://clojars.org/repo' }
19
- }
12
+ plugins {
13
+ id ' nebula.netflixoss' version ' 2.2.9'
20
14
}
21
15
22
- apply from : file(' gradle/convention.gradle' )
23
- apply from : file(' gradle/maven.gradle' )
24
- apply from : file(' gradle/check.gradle' )
25
- apply from : file(' gradle/license.gradle' )
26
- apply from : file(' gradle/release.gradle' )
16
+ // Establish version and status
17
+ ext. githubProjectName = rootProject. name // Change if github project name is not the same as the root project's name
27
18
28
19
subprojects {
29
-
20
+ apply plugin : ' nebula.provided-base'
21
+ apply plugin : ' clojure'
30
22
group = ' com.netflix.pigpen'
31
23
24
+ repositories {
25
+ jcenter()
26
+ maven { url ' http://clojars.org/repo' }
27
+ }
28
+
32
29
license {
33
30
mapping(' clj' , ' SEMICOLON_STYLE' )
34
31
}
@@ -37,7 +34,6 @@ subprojects {
37
34
from ' src/main/clojure'
38
35
}
39
36
40
- apply plugin : ' clojure'
41
37
tasks. uberjar. enabled= true
42
38
clojure. aotCompile = true
43
39
@@ -51,12 +47,6 @@ subprojects {
51
47
)
52
48
}
53
49
54
- clojureTest {
55
- // this is here because pig and hadoop are provided dependencies
56
- // without this, clojureTest doesn't work
57
- classpath = sourceSets. test. runtimeClasspath
58
- }
59
-
60
50
clojuredoc {
61
51
includeNamespace ' pigpen.core'
62
52
includeNamespace ' pigpen.fold'
@@ -66,21 +56,6 @@ subprojects {
66
56
]
67
57
}
68
58
69
- javadoc {
70
- // this is here because pig and hadoop are provided dependencies
71
- // without this, javadoc doesn't work
72
- classpath = sourceSets. test. runtimeClasspath
73
- }
74
-
75
- apply plugin : ' eclipse'
76
- eclipse {
77
- // this is here because pig and hadoop are provided dependencies
78
- // without this, counterclockwise doesn't work
79
- classpath {
80
- plusConfigurations + = configurations. provided
81
- }
82
- }
83
-
84
59
// //////////////////////////////////////////////////////////////////////////////
85
60
// Define a task that runs an nrepl server. The port is given with the nreplPort
86
61
// property:
0 commit comments