-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
38 lines (28 loc) · 989 Bytes
/
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
apply plugin: 'java'
sourceCompatibility = '1.8'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
// NetBeans will automatically add "run" and "debug" tasks relying on the
// "mainClass" property. You may however define the property prior executing
// tasks by passing a "-PmainClass=<QUALIFIED_CLASS_NAME>" argument.
//
// Note however, that you may define your own "run" and "debug" task if you
// prefer. In this case NetBeans will not add these tasks but you may rely on
// your own implementation.
sourceSets {
test {
java {
srcDirs = ["test/java/src"] // Note @Peter's comment below
}
}
}
repositories {
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'http://repo.jenkins-ci.org/public/' }
maven { url 'http://clojars.org/repo' }
}
task wrapper(type: Wrapper) { gradleVersion = '2.1' }
dependencies {
testCompile "junit:junit:4.11" // Or whatever version
compile project(':java-bowler')
}