/
build.gradle
35 lines (29 loc) · 978 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
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.
if (!hasProperty('mainClass')) {
ext.mainClass = ''
}
repositories {
mavenLocal()
mavenCentral()
}
task execute(type:JavaExec) {
main = "de.elsibay.EbbTicketShowcase"
classpath = sourceSets.main.runtimeClasspath
}
dependencies {
compile "io.vertx:vertx-core:3.0.0"
compile "io.vertx:vertx-web:3.1.0-SNAPSHOT"
testCompile group: 'junit', name: 'junit', version: '4.10'
}
task wrapper(type: Wrapper) {
gradleVersion = '2.4'
}