Bump copyright years
[cacert-votebot.git] / build.gradle
1 /*
2 * Copyright (c) 2016-2018 Jan Dittberner
3 *
4 * This file is part of CAcert votebot.
5 *
6 * CAcert votebot is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation, either version 3 of the License, or (at your option)
9 * any later version.
10 *
11 * CAcert votebot is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * CAcert votebot. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 description = "IRC vote bot for CAcert.org"
21
22 buildscript {
23 repositories {
24 jcenter()
25 }
26
27 dependencies {
28 classpath "org.springframework.boot:spring-boot-gradle-plugin:2.0.0.RELEASE"
29 }
30 }
31
32 apply plugin: 'java'
33 apply plugin: 'org.springframework.boot'
34 apply plugin: 'io.spring.dependency-management'
35
36 sourceCompatibility = 1.8
37 targetCompatibility = 1.8
38
39 repositories {
40 jcenter()
41 }
42
43 dependencies {
44 compile "org.springframework.boot:spring-boot-starter"
45 compile "commons-cli:commons-cli:1.4"
46 testCompile "org.springframework.boot:spring-boot-starter-test"
47 }
48
49 group = 'org.cacert'
50 version = '0.1.0-SNAPSHOT'
51
52 bootJar {
53 mainClassName = 'org.cacert.votebot.vote.CAcertVoteBot'
54 launchScript()
55 }
56
57 bootRun {
58 args System.getProperty("exec.args", "").split()
59 main = 'org.cacert.votebot.vote.CAcertVoteBot'
60 }
61
62 task wrapper(type: Wrapper) {
63 gradleVersion = '4.6'
64 }