Fix NullPointerException
[cacert-votebot.git] / build.gradle
1 description = "IRC vote bot for CAcert.org"
2
3 buildscript {
4 repositories {
5 mavenCentral()
6 }
7
8 dependencies {
9 classpath "org.springframework.boot:spring-boot-gradle-plugin:1.3.5.RELEASE"
10 }
11 }
12
13 apply plugin: 'java'
14 apply plugin: 'application'
15 apply plugin: 'spring-boot'
16
17 sourceCompatibility = 1.8
18 targetCompatibility = 1.8
19 mainClassName = 'org.cacert.votebot.vote.CAcertVoteBot'
20
21 repositories {
22 mavenCentral()
23 }
24
25 dependencies {
26 compile "org.springframework.boot:spring-boot-starter:1.3.5.RELEASE"
27 compile "commons-cli:commons-cli:1.3.1"
28 testCompile "org.springframework.boot:spring-boot-starter-test:1.3.5.RELEASE"
29 }
30
31 group = 'org.cacert'
32 version = '0.1.0-SNAPSHOT'
33
34 task wrapper(type: Wrapper) {
35 gradleVersion = '2.13'
36 }
37
38 bootRun {
39 args System.getProperty("exec.args", "").split()
40 }
41
42 bootRepackage {
43 enabled = false
44 executable = true
45 }