-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
91 lines (73 loc) · 2.26 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// Apply the java plugin to add support for Java
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '1.2.3'
id 'eclipse'
id 'idea'
}
// In this section you declare where to find the dependencies of your project
repositories {
// flatDir name:'ExternalJars', dirs:'./lib'
// Use 'jcenter' for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
maven {
url 'https://dl.bintray.com/cityzendata/maven'
}
maven {
url 'https://dl.bintray.com/hbs/maven'
}
maven {
url "http://nexus.bedatadriven.com/content/groups/public/"
}
maven {
url "http://repo.opengeo.org/"
}
maven {
url 'https://repository.apache.org/content/groups/public'
}
mavenCentral()
mavenLocal()
maven {
url "http://maven.twttr.com"
}
}
configurations {
provided
}
// In this section you declare the dependencies for your production and test code
dependencies {
// The production code uses the SLF4J logging API at compile time
// compile 'org.slf4j:slf4j-api:1.7.13'
compile 'com.github.nitram509:jmacaroons:0.3.1'
provided 'io.warp10:warpscript:1.2.22-9-g921ab4c7'
provided 'io.warp10:warp10:1.2.22-9-g921ab4c7'
provided 'com.google.guava:guava'
// Declare the dependency for your favourite test framework you want to use in your tests.
// TestNG is also supported by the Gradle Test task. Just change the
// testCompile dependency to testCompile 'org.testng:testng:6.8.1' and add
// 'test.useTestNG()' to your build script.
testCompile 'junit:junit:4.12'
testCompile 'io.warp10:warpscript:1.2.22-9-g921ab4c7'
testCompile 'io.warp10:warp10:1.2.22-9-g921ab4c7'
testCompile 'com.google.guava:guava'
}
sourceSets {
main {
compileClasspath = compileClasspath + configurations.provided
}
}
eclipse.classpath.plusConfigurations += [configurations.provided] // Eclipse users only
// for IntelliJ users
idea {
module {
scopes.PROVIDED.plus += [configurations.provided]
}
}
shadowJar {
classifier = ''
manifest {
attributes("Implementation-Title": "Warp 10 Template Extension")
attributes("Implementation-Version": "0.0.1")
}
}